the current socket.cls select method has 2 things I don't like:
the read, write and exception arrays that are returned do not have members of the socket class, but rather their file-descriptors as returned from the rxsock library.
on a timeout (return code 0, when no sockets are detected that can be processed) the arrays provided are not cleared, forcing a user to make an additional check for a 0 return code to detect that situation.
The attached patch file will correct both situations.
Ruurd
Anonymous
Forget this one, made a new ticket for 4.2.0