Boost logo

Boost :

From: christopher baus (christopher_at_[hidden])
Date: 2006-01-12 16:27:45


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk