Info2004 wrote: > On 31/01/2012 17:41, Arno Garrels wrote: >> >> I guess the server did not send a response to the STOR >> request after the client successfully established the data >> connection. Since this is async mode your application >> should have detected and handled a request timeout. >> > Arno, > > What is the correct way to handle this scenario?
Use a timer and reset some timeout value whenever data is sent and received, on timeout I'd abort the connection and retry. > > Can I issue another PutAsync, or will I need to close the connection > and start again? I would abort and start a new fresh session after some wait time until a MaxRetry value is reached, increasing the wait before each retry. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be