5 Oct
2011
5 Oct
'11
6:21 a.m.
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.
I don't think you can recover from unexpected errors coming from tcp, by just "retrying read or write". The only thing you can do in any case is to try and re-establish connection.