Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!utcsri!decom From: decom@utcsri.UUCP Newsgroups: comp.sys.ibm.pc Subject: Looking for sample C code using serial I/O Message-ID: <5617@utcsri.UUCP> Date: Wed, 4-Nov-87 14:41:28 EST Article-I.D.: utcsri.5617 Posted: Wed Nov 4 14:41:28 1987 Date-Received: Sat, 7-Nov-87 04:41:47 EST Reply-To: decom@utcsri.UUCP (Jonathan Haruni) Distribution: na Organization: University of Toronto Lines: 14 I would like to see a short bit of C that opens the serial port on a PC, and reads or writes from/to it. I am using MSC 4.0, and my call to open the port is not succeeding. If you have a short example that has been shown to run properly, I would appreciate seeing it. Also, I can't find any reference to how one configures the port (baud rate, etc). I've checked the DOS tech ref man, but the information isn't there. Where should I look for this info ? Thanks, Jon Haruni decom@csri.toronto.edu