UDT docs - Select() page errors
Brought to you by:
ctchrinthry,
rlg128
The page informing on how to use the select() function does not
describe select() on the top of the page, it describes sendfile() at
the top of the page.
The example at the bottom of the page will not work, as it uses
function names which do not exist, or are for regular sockets.
The example description says that this is for sending, yet the
code is setup for "reading."
UDSET & UDZERO should be UD_SET and UD_ZERO.
FD_ISSET should be UD_ISSET.
"// timeout" should be "// timeout or error."
Logged In: YES
user_id=275995
fixed. Thanks.