Telnet nop

来自MudWiki

名称

   telnet_nop() - send an TELNET NOP message

语法

   void telnet_nop();

描述

   if user is under telnet, then send an TELNET_IAC TELNET_NOP sequence, useful to keep the connection alive.

   NOP is "no operation".  You can send a packet that communicates to the client but does not include actual data.  It's like you say here is a message but it has size of 0.  This lets you keep the network connection active.  If you have networking equipment that forgets about connections whenever they are silent for too long, then this will stop that from happening.

参考

   telnet_ga(3)