[DGD] Sending telnet KEEPALIVE packets
Erwin Harte
harte at is-here.com
Sun Jul 22 01:20:19 CEST 2007
Erwin Harte wrote:
> Kurt Nordstrom wrote:
>>>> - Assuming I can send it with the driver, how would I specify this
>>>> sequence in LPC? Is there an escape code for it?
>>> DGD cannot send it. Of course, you're free to modify comm.c to send
>>> periodical IAC NOPs; hopefully, not too many clients will crash as a
>>> result.
>>>
>>
>> Ok, so by this do you mean that, even if I open the comm.c to allow the
>> IAC NOP to be sent, there's no LPC string that I can send from within DGD
>> to represent this?
>
> You have two options, that I can see:
>
> 1. Modify comm.c to allow the appropriate character codes through. This
> potentially opens you up to some mischief by misbehaving coders.
>
> 2. Modify comm.c to occasionally loop over the connections and send the IAC
> NOP sequence, while leaving the other restrictions in place.
There is a third option, which Dworkin pointed out to me off-list, namely to
create a kfun that sends the IAC NOP sequence. :)
Erwin.
More information about the DGD
mailing list