4 #ifdef _WIN32 /* Windows */
6 typedef SOCKET socket_t
;
11 void init_network_context (void);
12 void terminate_network_context (void);
14 int open_listening_socket (int port
);
15 int accept_incoming_connection (void);
17 void close_connection (void);
19 int receive_data (char **pdata
);
20 int send_data (char *data
, int len
);
22 #endif /* __SERVER_H__ */
24 /* vim: set ts=4 sw=4 et: */