aboutsummaryrefslogtreecommitdiff
path: root/net/net.h
diff options
context:
space:
mode:
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);