Well,
as I mentioned, I've added it the same way we support socket linger,
soTimeout options.
So it's just additional field in TCPNIOTransport.
WBR,
Alexey.
On Apr 1, 2010, at 17:28 , Ming Qin wrote:
> Oleksiy Stashok:
>
> BTW, I've added keepAlive support to 2.0 branch
>
> Can you elaborate with implementation of keepAlive in 2.0 branch ?
>
>
> Ming Qin
> Cell Phone 858-353-2839
>
> --- On Wed, 3/31/10, Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM> wrote:
>
> From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
> Subject: Re: Socket TCP/IP KeepAlive
> To: users_at_grizzly.dev.java.net
> Date: Wednesday, March 31, 2010, 8:51 AM
>
> 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.
>>
>>
>