On 2/19/12 7:53 PM, H. S. Teoh wrote:
I stand by my objection that if something might succeed if it can be retried, then it needs to be retried in the called function, not the caller.
If read fails from a socket, it's of no use to try it again. One must close the socket, reconnect, and attempt the whole operation once again.
Andrei