aboutsummaryrefslogtreecommitdiff
path: root/net/net.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-20 10:26:22 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-20 10:26:22 +0100
commitd1dc6ddc035193ab6e2570f58b7e3a79fc335bce (patch)
tree6d2f1ab0c2e2d11fa7faa4060624585e870b567f /net/net.h
parent2eef87c8970db643c4ef09e0fd9e8110c8193043 (diff)
sock work
Diffstat (limited to 'net/net.h')
-rw-r--r--net/net.h2
1 files changed, 1 insertions, 1 deletions
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);