unsubscribe
From: "Emmanuel R. Saint-Loubert" <emmanuel@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 Feb 2008 02:39:20 +0100 (CET)


-- Emmanuel R. Saint-Loubert (emmanuel@xxxxxxxxxxxxxxxxx)

> -----Original Message-----
> From: Rommel S Trindade [mailto:rommel.trindade@xxxxxxxxxxxxx]
> Sent: Wednesday, February 13, 2008 2:18 PM
> To: gloox-dev@xxxxxxxxxx
> Subject: Re: [gloox-dev] Server disconnect after while
> 
> Tks Jakob.
> 
> I implemented the ClientBase::whitespacePing()  function on my code and
> it is working ok.
> 
> 
> cheers,
> 
> Rommel.
> 
> 
> Jakob Schröter wrote:
> > On Saturday February 9 2008, Rommel S Trindade wrote:
> >
> >> Hi all,
> >>
> >>
> >> I'm trying to make a bot.
> >> But after some time of inactivity the server closes the connection (
> >> 6min more less ).
> >>
> >>
> >> There are some configuration that the client send server to not
> >> disconnect after the timeout?
> >> If not. What is correct procedure to not get disconnected?
> >> There are some samples code about it?
> >>
> >
> > Hi,
> >
> > You can send a whitespace ping (ClientBase::whitespacePing()) from
> time to
> > time to prevent that from happening.
> >
> > cheers,
> > Jakob
> >