
Thank you all for your explanations. They are very helpful so I think I'm going to get it implemented a sensible way. Best regards, Nicola -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Scott Gifford Sent: 16 December 2009 04:26 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [asio] Socket closed notification? Jonathan Franklin <franklin.jonathan@gmail.com> writes:
On Tue, Dec 15, 2009 at 10:25 AM, Scott Gifford <sgifford@suspectclass.com> wrote:
Sure, I agree completely that attempting a read is necessary [...] I also agree that write() won't always return an error, [...]
I think we're agreeing, but not being clear enough for each other, or the OP.
Yes, everything you say in this message is spot on. Hopefully this exchange has been helpful to the OP at least. :-) -----Scott. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users