$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: christopher baus (christopher_at_[hidden])
Date: 2006-01-12 17:06:12
>
> 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.