
28 Jun
2004
28 Jun
'04
12:05 p.m.
Glynn Clements writes:
Am I even supposed to set them, or is there a better way to specify general I/O timeouts than on the socket level?
Non-blocking I/O and select/poll; although I don't know how well that is supported.
Can anyone tell me how well supported it is? What would happen if a timeout occurs in the _socket_ level? Will an exception be thrown? Can I count on this behavior even when reading from a socket (read: a Handle promoted from a Socket) with hGetContents? Peter