Re: [xSocket-develop] How to keep alive Nonblocking connection?
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-12-05 09:17:38
|
Hi sly,
the question is, does the client or server close the connection? You can
activate xSocket's debug log (see turorial chapter 28).
If the server closes the connection, a log message will be printed out like:
10:13:19,122 15 FINE [IoSocketHandler#readSocket]
[cf049d3a11e066c26de30ad7657C2] channel has reached end-of-stream (maybe
closed by peer)
...
cheers
Gregor
2008/12/5 <jun...@wp...>
> hi,
>
> I created NonBlockingConnection and it dies approximately after 1.5 min
> if it is not used. Is it possible set some kind of parameter to prevent
> dying if it is not used?
>
>
> nbc = new NonBlockingConnection("192.168.102.58", 12004, new
> clientHandler());
>
> regards,
> sly
>
> ----------------------------------------------------
> Co to był za GOOOOOOOOOL!
> Cyknąłeś taką akcję?
> Wrzuć foty na http://klik.wp.pl/?adr=http%3A%2F%2Fpikeo.pl&sid=574
>
>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> xSocket-develop mailing list
> xSo...@li...
> https://lists.sourceforge.net/lists/listinfo/xsocket-develop
> |