[JDEV] send nothing ? -was : Type of connection used for a jabber server

Dave Waite dwaite at jabber.com
Mon Aug 20 19:44:26 CDT 2001


You can send (ignorable) whitespace, which does not affect the parsing 
of the document. So some clients will send a space, a tab, or some 
combination thereof to the server once a minute to prevent any proxy 
in-between from detecting it as a dead connection and severing it.

-David Waite

dlb wrote:

>What is the 'send nothing trick'  ?
>
> Is there a message or query type that the server will simply echo -
>something that I can use to confirm that my connection is still active ?
>
>thanks
>
>
>----- Original Message -----
>From: David Rainville
>
>
>Hi all,
>    Since I am having problems of disconnections in my jabber client ....
>
>And yes I use the send nothing trick each 30 seconds so it is not because of
>timeout error.
>
>
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
>






More information about the JDev mailing list