Sorry for sending too early! Hello,
As you know we have a web reverse proxy. When the client (outgoing) socket returns the winsock error 10054, I want to pump answer404 to the incoming socket. Here is the code, ... OnDataSent = ConnectionDataSentErrorPages; if(State == wsConnected && !FSessionClosedFlag) { if(!contentLength) Send(NULL, 0); else ConnectionDataSentErrorPages(this, 0); } In this case, the Send(NULL, 0); never calls connectiondatasentErrorpages as it does with no-error case. How can I detect in which cases does this occur and act accordingly? Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be