[jdev] XMPP Ping/Keepalive: Recommended method ?
Sergei Golovan
sgolovan at nes.ru
Mon Jun 19 13:06:47 CDT 2006
On 6/19/06, Dave Cridland <dave at cridland.net> wrote:
> On Mon Jun 19 08:15:40 2006, Sergei Golovan wrote:
> > So, some NATs and proxies still break connection if they don't see
> > bidirectional flow.
> >
> Could you tell me which NATs do this? I'm unaware of any that handle
> timeouts differently for unidirectional data flows.
I've never seen that but once there was a feature request for Tkabber.
Some gateway (probably on MS Windows) dropped connection if there
weren't outgoing packets for some time.
>
> > Another issue is that with this "ping" you can't control the
> > connection. If TCP connection breaks (but before TCP timeout
> > reaches -
> > and it is a quite long timeout)
>
> As far as I'm aware, there *is* no timeout on silent TCP connections.
I'm talking about the situation when I keep sending packets, but the
other side doesn't receive them.
--
Sergei Golovan
More information about the JDev
mailing list