repo.or.cz
/
pachi
/
json.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi
[pachi/json.git]
/
network.h
blob
602e3f70f213a61e3412a5fb013e680f1afdf13b
1
#ifndef ZZGO_NETWORK_H
2
#define ZZGO_NETWORK_H
3
4
#include <netinet/in.h>
5
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
);
10
11
#endif