[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple telnet sessions
- Date: Thu, 17 May 2007 09:35:02 -0600
- From: brett.swimley at aedbozeman.com (Brett Swimley)
- Subject: Multiple telnet sessions
Hi,
I'm working on a telnet like server for a Python interpreter (which I'm
hoping to post on the wiki) and am running into some problems.
I thought I would go back to the basics and work with the telnetd server
provided.
I have initialized as follows:
#ifdef ENABLE_TELNET
/******************************************
* Just in case we may want to telnet to the application.
****************************************/
rtems_pty_maximum_ptys = 10;
rtems_io_register_driver( 0, &pty_driver_address_table, &pty_major );
rtems_telnetd_main(0, NULL);
#endif
Things work OK until I get multiple telnet sessions running. Then,
typing text into the first session causes an exception in
_Thread_Dispatch() in _CPU_Context_restore_fp() (which may be an
artifact of another issue).
Has anyone run multiple telnet sessions concurrently? Am I setting up
the pty driver correctly?
Thanks in advance,
Brett Swimley