[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to shutting down a socket ?



 [skip]

> 
> How to close the socket when an client does not close properly the
> connection ?


Use keepalives on socket level.
Another way is to enable keepalives and timeouts at system-wide level, which
is available in some OS'es.


> Guy De Leeuw
> EDP Manager
> Eurofer ASBL
> 211, rue du noyer
> 1000, Bruxelles
> Belgium
> Phone : +32 (2) 738 79 40
> Fax : +32 (2) 736 28 22
> E-Mail : mailto:G.De_Leeuw@eurofer.be
> www : http://www.eurofer.org
> 
> 


-- 
Lev Walkin
vlm@smarts-gsm.ru