
12 Jan
2006
12 Jan
'06
9:27 p.m.
Is there any way to query a stream_socket for its connection state? Also when a connection is closed by a peer during a read operation what error should be expected? eof, not_connected, fault, operation_aborted all seem reasonable.