Boost logo

Boost :

From: Chris Cleeland (cleeland_at_[hidden])
Date: 2006-01-12 16:35:02


On Thu, 12 Jan 2006, christopher baus wrote:

> 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.

For a TCP socket, I would expect it to return eof, since that is how TCP
sockets work.

-- 
  Chris Cleeland, cleeland_c @ ociweb.com, http://www.milodesigns.com/~chris
     Principal Software Engineer, Object Computing, Inc., +1 314 579 0066
      Support Me Supporting Cancer Survivors in Ride for the Roses 2005
    >>>>>>>>>    Donate at http://www.milodesigns.com/donate    <<<<<<<<<

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