socket.recvfrom() & sendto()

Michael Hudson mwh at python.net
Thu May 10 04:36:17 EDT 2001


"Steve Holden" <sholden at holdenweb.com> 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)).

Cheers,
M.

-- 
  Never meddle in the affairs of NT. It is slow to boot and quick to
  crash.                                             -- Stephen Harris
               -- http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html



More information about the Python-list mailing list