27 Jul
2009
27 Jul
'09
5:05 p.m.
On Mon, Jul 27, 2009 at 10:14 AM, Alex Black
wrote: Would doing synchronous writes (instead of asycnchronous writes) make any difference?
No. It still needs to fill up the TCP send buffer before it even considers raising any sort of error.
If one end of the connection silently drops off, the only reliable way to find out is to attempt a read.
So, if I attempt a read, will I be able to distinguish between these two scenarios: A) the client is no longer connected B) the client is connected but hasn't send anything since I last read (which is the case for HTTP clients I believe)
Jon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users