Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi
[pachi/json.git] / network.h
blob602e3f70f213a61e3412a5fb013e680f1afdf13b
1 #ifndef ZZGO_NETWORK_H
2 #define ZZGO_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