On 10/05/2011 12:30 AM, Christopher Pisz wrote:
Well, my main concern is for reads and writes over tcp. Determining if my connection has been dropped or is unrecoverable, or if I should retry the read or write.
I see lots of 'no so self explanatory' error codes in the list of possibles. Such as, "Operation already in progress" "access_denied" "operation_aborted"
knowing when and why these occur dictates how I would handle them and whether I'd give up or retry.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
The usual way to find out whether a TCP connection is "broken" or not is to facilitate a high level heartbeat mechanism. By "high level" I mean the application layer. At least that's how I do it :-) Regards -- Dipl.-Ing. (FH) Andreas Wehrmann Software Development -------------------------------------------------------------- Center Communication Systems GmbH A-1210 Wien, Ignaz-Köck-Straße 19 Sitz in Wien FN 796 88p, Firmenbuchgericht Wien www.centersystems.com Tel.: +43 (0) 190 199 - 3616 Mobile: +43 (0) 664 884 75916 Fax: +43 (0) 190 199 - 2110 E-Mail: a.wehrmann@centersystems.com