Re: Server disconnect after while
From: Jakob Schröter <js@xxxxxxxxxx>
Date: Sat, 9 Feb 2008 10:10:52 +0100 (CET)
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

Attachment: signature.asc
Description: This is a digitally signed message part.