diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-20 10:26:22 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-02-20 10:26:22 +0100 |
commit | d1dc6ddc035193ab6e2570f58b7e3a79fc335bce (patch) | |
tree | 6d2f1ab0c2e2d11fa7faa4060624585e870b567f /net/net.h | |
parent | 2eef87c8970db643c4ef09e0fd9e8110c8193043 (diff) |
sock work
Diffstat (limited to 'net/net.h')
-rw-r--r-- | net/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ typedef struct { PSocket *sock_client; } net_server; -void net_server_open(net_server *s, int port); +void net_server_open(net_server *s, char ip[], int port); void net_server_accept(net_server *s); int net_server_recv(net_server *s, char buffer[]); void net_server_send (net_server *s, char data[], int sizeofdata); |