select on COM port

From: Mike Galuza <mgaluza_at_dejarnette.com>
Date: Thu, 20 Mar 97 14:53:07 EST

Hello. This question is more of a programming question so it may not
be appropriate for this list. If that's true, I apologize ahead of
time. Anyway, I'm having trouble doing a select() on a COM port. I
open /dev/tty00 with Read/Write permissions then do a select on it, but
it never comes back. I know the port is working okay because if I skip
the select and just read or write the fd it works fine. Does anyone
out there know if it is possible to do a select() on an RS232 connection?
And if so, is there anything special you have to do that I might be
missing?

Thanks in advance,
Mike

----------------------------------------------------------------------
Michael Galuza
DeJarnette Research Systems mgaluza_at_dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------
Received on Thu Mar 20 1997 - 21:12:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT