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 @@ | |||
| 5 | #define _XS_SOCKET_H | 5 | #define _XS_SOCKET_H |
| 6 | 6 | ||
| 7 | int xs_socket_timeout(int s, double rto, double sto); | 7 | int xs_socket_timeout(int s, double rto, double sto); |
| 8 | int xs_socket_server(char *addr, int port); | 8 | int xs_socket_server(const char *addr, int port); |
| 9 | FILE *xs_socket_accept(int rs); | 9 | FILE *xs_socket_accept(int rs); |
| 10 | 10 | ||
| 11 | 11 | ||
| @@ -40,7 +40,7 @@ int xs_socket_timeout(int s, double rto, double sto) | |||
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | 42 | ||
| 43 | int xs_socket_server(char *addr, int port) | 43 | int xs_socket_server(const char *addr, int port) |
| 44 | /* opens a server socket */ | 44 | /* opens a server socket */ |
| 45 | { | 45 | { |
| 46 | int rs = -1; | 46 | int rs = -1; |