From d1dc6ddc035193ab6e2570f58b7e3a79fc335bce Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Sat, 20 Feb 2021 10:26:22 +0100 Subject: sock work --- net/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/net.h') diff --git a/net/net.h b/net/net.h index 056114b..7ec782f 100644 --- a/net/net.h +++ b/net/net.h @@ -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); -- cgit v1.2.3-54-g00ecf