Forum: Ruby Set Telnet Server nonblocking = false

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
425cab08658a06567879717de154552c?d=identicon&s=25 Ari Brown (Guest)
on 2007-07-26 22:43
(Received via mailing list)
Hey all,
I'm writing a telnet server. I think it should be obvious what it
does. But, my clients keep getting disconnected whenever I use
IO.getc because it is nonblocking and it's throwing an error.

How can I set my telnet server to have nonblocking=false?

my code is here:

There are errors galore, and I would greatly appreciate it if you
ever wanted to criticize me to death.
This topic is locked and can not be replied to.