From 7196b2cd848577f640d9268a0a34ab3ad8706c26 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 27 Feb 2009 14:51:37 +0000 Subject: nixio: Fixes, use POSIX calls for file i/o httpclient: resume support, splice() support, cookie support --- libs/nixio/src/io.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/nixio/src/io.c') diff --git a/libs/nixio/src/io.c b/libs/nixio/src/io.c index b33746121..3727f8c02 100644 --- a/libs/nixio/src/io.c +++ b/libs/nixio/src/io.c @@ -169,6 +169,8 @@ static const luaL_reg M[] = { {"sendto", nixio_sock_sendto}, {"recv", nixio_sock_recv}, {"recvfrom",nixio_sock_recvfrom}, + {"write", nixio_sock_send}, + {"read", nixio_sock_recv}, {NULL, NULL} }; -- cgit v1.2.3