This patch set changes the Telnet server implementation to allocate all resources (except the socket returned by accept()) at the service start via rtems_telnetd_start().
You can now also start the Telnet server on non-standard ports. I tested it using libbsd. Sebastian Huber (6): telnetd: Simplify task spawn function telnetd: Rename shell_args to telnetd_session telnetd: Create server socket at start telnetd: Allocate the server context telnetd: Create sessions at start telnetd: Add server port to configuration cpukit/include/rtems/pty.h | 11 +- cpukit/include/rtems/telnetd.h | 9 +- cpukit/telnetd/pty.c | 33 +- cpukit/telnetd/telnetd.c | 634 ++++++++++++++-------------- testsuites/libtests/telnetd01/init.c | 6 +- testsuites/libtests/telnetd01/telnetd01.scn | 7 +- 6 files changed, 360 insertions(+), 340 deletions(-) -- 2.16.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel