diff options
Diffstat (limited to 'xs_socket.h')
-rw-r--r-- | xs_socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_socket.h b/xs_socket.h index a3fe6a4..d2853a2 100644 --- a/xs_socket.h +++ b/xs_socket.h @@ -5,7 +5,7 @@ #define _XS_SOCKET_H int xs_socket_timeout(int s, double rto, double sto); -int xs_socket_server(char *addr, int port); +int xs_socket_server(const char *addr, int port); FILE *xs_socket_accept(int rs); @@ -40,7 +40,7 @@ int xs_socket_timeout(int s, double rto, double sto) } -int xs_socket_server(char *addr, int port) +int xs_socket_server(const char *addr, int port) /* opens a server socket */ { int rs = -1; |