🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2143

COM port I/O...AGAIN!

#2143
From: ghenniga
Date: Sun, 27 Sep 1992 04:28
22 lines
1380 bytes

	Well, thanks to Kai Rommel and Mark Saum I've managed to get pretty
far programming the serial ports under OS/2. I still have one question
though, how does one handle flow control using the functions DosWrite,
DosRead and DosDevIOCtl? Specifically XON/XOFF. Does the programmer have to
worry about this stuff with the buffered DosWrite function?
	As an example, when I first connect to a remote machine I'd like to
send an XOFF to the port and have it respond with an XON when it's ready to
have data sent to it. How does one accomplish this, or is it handled by
OS/2 and buffering so that I can use DosWrite freely and not worry about
overrunning the port?
	Once again any help is GREATLY appreciated!! I realize I could get
an OS/2 book that covers this but this is just a small project and I don't
have $50 to shell out for one anyway.

Thanks,
Gary Hennigan
---------
PhD Student, Computational Electromagnetics
New Mexico State University
email: ghenniga@NMSU.Edu
Technical Details
Message-ID: <GHENNIGA.92Sep26212841@ampere.ampere>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!lynx!nmsu.edu!opus!ghenniga

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!lynx!nmsu.edu!opus!ghenniga
From: ghenniga@NMSU.Edu
Subject: COM port I/O...AGAIN!
Message-ID: <GHENNIGA.92Sep26212841@ampere.ampere>
Sender: usenet@nmsu.edu
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group
Date: Sun, 27 Sep 1992 04:28:41 GMT
Lines: 22