Sorry for sending too early!


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)
   Send(NULL, 0);
   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,


To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to