diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-16 07:06:31 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-16 07:06:31 +0000 |
commit | 89f3ecf7820857f91c4039536d2bbe3cf12d5f95 (patch) | |
tree | 76e6cc9ff403a8c5ee52448d7ae9311bdf499039 /src/wsocket.c | |
parent | 3febb302ad28fd25de51cbc686739469b92d8921 (diff) | |
download | luasocket-89f3ecf7820857f91c4039536d2bbe3cf12d5f95.tar.gz luasocket-89f3ecf7820857f91c4039536d2bbe3cf12d5f95.tar.bz2 luasocket-89f3ecf7820857f91c4039536d2bbe3cf12d5f95.zip |
http.lua updated. still needs proxy support.
code.lua updated. looks neat.
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) |