From 3cd10f5ab6cda5c4a8db829dd38f25168edcfc4a Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Mon, 11 Jun 2007 23:44:54 +0000 Subject: Crashy bug fixed in recvraw. Also fixed returns on closed socket. --- doc/socket.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/socket.html') diff --git a/doc/socket.html b/doc/socket.html index 16a025b..f096e4b 100644 --- a/doc/socket.html +++ b/doc/socket.html @@ -190,11 +190,13 @@ be empty tables or nil. Non-socket values (or values with non-numeric indices) in the arrays will be silently ignored.

-

The function returns a table with the sockets ready for -reading, a table with the sockets ready for writing and an error message. +

The function returns a list with the sockets ready for +reading, a list with the sockets ready for writing and an error message. The error message is "timeout" if a timeout condition was met and -nil otherwise. The returned tables are associative, to -simplify the test if a specific socket has changed status. +nil otherwise. The returned tables are +doubly keyed both by integers and also by the sockets +themselves, to simplify the test if a specific socket has +changed status.

-- cgit v1.2.3-55-g6feb