[DGD] Sending telnet KEEPALIVE packets

Felix A. Croes felix at dworkin.nl
Sat Jul 21 18:28:54 CEST 2007


"=?ISO-8859-1?Q?Petter_Nystr=F6m?=" <jimorie at gmail.com> wrote:

> As a workaround, perhaps you could use the one telnet command DGD can
> send: the ECHO request. By using send_message(0) and send_message(1)
> you'll send WONT ECHO and DO ECHO, respectively. If you keep track of
> the user's supposed ECHO state you could resend the proper requests
> just to keep the connection alive, perhaps?

There is a fair chance that an echo => no echo => echo transition
will abandon already typed input on some clients.  But if this is
only done for people who request a keepalive solution, it may
work out.

Regards,
Dworkin



More information about the DGD mailing list