diff options
Diffstat (limited to 'src/wsocket.c')
| -rw-r--r-- | src/wsocket.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wsocket.c b/src/wsocket.c index 1ba28b6..59d88df 100644 --- a/src/wsocket.c +++ b/src/wsocket.c | |||
| @@ -36,6 +36,14 @@ void sock_destroy(p_sock ps) | |||
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | /*-------------------------------------------------------------------------*\ | 38 | /*-------------------------------------------------------------------------*\ |
| 39 | * | ||
| 40 | \*-------------------------------------------------------------------------*/ | ||
| 41 | void sock_shutdown(p_sock ps, int how) | ||
| 42 | { | ||
| 43 | shutdown(*ps, how); | ||
| 44 | } | ||
| 45 | |||
| 46 | /*-------------------------------------------------------------------------*\ | ||
| 39 | * Creates and sets up a socket | 47 | * Creates and sets up a socket |
| 40 | \*-------------------------------------------------------------------------*/ | 48 | \*-------------------------------------------------------------------------*/ |
| 41 | const char *sock_create(p_sock ps, int domain, int type, int protocol) | 49 | const char *sock_create(p_sock ps, int domain, int type, int protocol) |
