util.h: Include WIN32 compatibility wrappers for sleep() and __sync_fetch_and...()
[pachi/peepo.git] / network.h
blob6b7c246e92d4dbdf00efe5fb0f78226bd261d3c2
1 #ifndef PACHI_NETWORK_H
2 #define PACHI_NETWORK_H
4 #include <netinet/in.h>
6 int port_listen(char *port, int max_connections);
7 int open_server_connection(int socket, struct in_addr *client);
8 void open_log_port(char *port);
9 void open_gtp_connection(int *socket, char *port);
11 #endif