Miguel Cañas wrote:
>> Hi
>> 
>> I have another question about heavy traffic behavior. 
>> TWsocketServer does not see the close socket event in time and I see
>> a lot of connections in my server machine that are already close in
>> the client. Looks like if my service did not process the event in
>> time. I am missing something ? This only happen with heavy traffic.
>> 
>> Do I have to change the configuration of my server, like changing
>> time_wait setting etc?

When a client connection closes a window message is posted to the
component window (hidden window of the listening TWSocket, (the server socket)).
When this message is processed the closed client is removed from the client
list. If that doesn't work for you, there's most likely something wrong
in your code. Probably your code is blocking messages somewhere. Hard to
tell where exactely ;-)


---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
  


>> 
>> Miguel Angel Cañas C.
>> 
>> _________________________________________________________________
>> Express yourself instantly with MSN Messenger! Download today it's
>> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>> 
>> 
> 
> 
> 
>> --
>> 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
-- 
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

Reply via email to