telnetd: add -w ("inetd wait") option. Can be configured off.
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Sep 2009 00:21:13 +0000 (02:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Sep 2009 00:21:13 +0000 (02:21 +0200)
commited1667e8ee91243b77b02cc4f160fe4b80a30385
tree54520fc2069e9f8f21a8fad0cfc1de163b5d4017
parentcfc216345e18081cba9ac3ed0464abf5d7f40cea
telnetd: add -w ("inetd wait") option. Can  be configured off.

gcc fils to fully optimize it out when it's off:

function                                             old     new   delta
telnetd_main                                        1527    1548     +21
packed_usage                                       26596   26587      -9

but nevertheless it's a useful (and so far single) example
how to write "inetd wait" tcp service.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/usage.h
networking/Config.in
networking/telnetd.c