diff options
Diffstat (limited to 'src/socket.h')
| -rw-r--r-- | src/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index cea9e0d..aeadff0 100644 --- a/src/socket.h +++ b/src/socket.h | |||
| @@ -34,7 +34,7 @@ const char *sock_create(p_sock ps, int domain, int type, int protocol); | |||
| 34 | void sock_destroy(p_sock ps); | 34 | void sock_destroy(p_sock ps); |
| 35 | int sock_accept(p_sock ps, p_sock pa, SA *addr, socklen_t *addr_len, | 35 | int sock_accept(p_sock ps, p_sock pa, SA *addr, socklen_t *addr_len, |
| 36 | int timeout); | 36 | int timeout); |
| 37 | const char *sock_connect(p_sock ps, SA *addr, socklen_t addr_len); | 37 | const char *sock_connect(p_sock ps, SA *addr, socklen_t addr_len, int timeout); |
| 38 | const char *sock_bind(p_sock ps, SA *addr, socklen_t addr_len); | 38 | const char *sock_bind(p_sock ps, SA *addr, socklen_t addr_len); |
| 39 | void sock_listen(p_sock ps, int backlog); | 39 | void sock_listen(p_sock ps, int backlog); |
| 40 | void sock_shutdown(p_sock ps, int how); | 40 | void sock_shutdown(p_sock ps, int how); |
