Boost logo

Boost :

From: Chris Cleeland (cleeland_at_[hidden])
Date: 2006-01-12 17:24:43

On Thu, 12 Jan 2006, christopher baus wrote:

> > For a TCP socket, I would expect it to return eof, since that is how TCP
> > sockets work.
> read() and recv() return 0 as the number of bytes read when the socket is
> shutdown for reading. AFAIK, that's the only way to determine that state
> from the socket API.

Right. That's an eof for a TCP socket. Sorry if that wasn't clear from what
I typed.

  Chris Cleeland, cleeland_c @,
     Principal Software Engineer, Object Computing, Inc., +1 314 579 0066
      Support Me Supporting Cancer Survivors in Ride for the Roses 2005
    >>>>>>>>>    Donate at    <<<<<<<<<

Boost list run by bdawes at, gregod at, cpdaniel at, john at