socket.recvfrom() & sendto()

Michael Hudson mwh at
Thu May 10 10:36:17 CEST 2001

"Steve Holden" <sholden at> writes:

> Under Unix I *believe* that select() can treat a tty channel like a
> socket,

If you munge the terminal settings correctly, yes (actually, I'm not
sure whether you need to munge the terminal settings to get select to
work, or so that the ensuing read works as you want (i.e. not waiting
for end-of-line)).


  Never meddle in the affairs of NT. It is slow to boot and quick to
  crash.                                             -- Stephen Harris

More information about the Python-list mailing list