[jdev] Presence - how often?

Jonathan Schleifer js-jdev at webkeks.org
Thu Dec 11 06:59:13 CST 2008


Am 11.12.2008 um 13:52 schrieb Yann Leboulanger:

> In this case it's useless, as it's more or less the TCP timeout ...

Nope, the TCP timeout is not the problem. If a TCP/IP packet gets into  
a timeout, it is resent. When I disable the pings, the connection  
doesn't get killed, it's slow, but it works. The problem is that when  
signing in I receive the roster, the initial presences etc., so that  
the ping can't be answered in time. Actually, ssh shows just how nice  
TCP/IP works: I can have no net for a few minutes, then have it again  
and my SSH session is still alive. So the the problem is the timeout  
in Gajim, and disabling it helps, as Dave already said. But disabling  
it is not always the best solution, because then you also won't notice  
when the connection is really dead.

--
Jonathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <https://www.jabber.org/jdev/attachments/20081211/2f5cdf9c/attachment-0003.pgp>


More information about the JDev mailing list