users@grizzly.java.net

Re: Socket TCP/IP KeepAlive

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 31 Mar 2010 17:51:13 +0200

Hi,

correct.
We'd need to add it the same way we have linger, soTimeout and other
socket config values.
BTW, I've added keepAlive support to 2.0 branch.

WBR,
Alexey.

On Mar 31, 2010, at 17:42 , Ming Qin wrote:

> Hi :
>
> Just like to validate my thoughts on implementing Socket TCP/IP
> KeepAlive for Grizzly.
>
> Since Java.net.SocketOptions.SO_KEEPALIVE can let TCP
> automatically sends a keepalive probe to the peer. The probe is a
> TCP segment to which peer must respond.
>
>