TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Mads Orbesen Troest
date: 1998-11-28 02:53:30
subject: Peeking at COM data?

Why, Hello All...

I have a somewhat banal problem that nevertheless continues to bug me: how
do I /peek/ data from the COM port? I have opened the port using DosOpen,
defined its characteristics via IOCTL and can read from it without problems
using DosRead; I have a situation, however, in which I'd like a peek at the
data without actually removing it from the buffer. How to do that, I
wonder?

   These were the incoherent ramblings of ...
      ... Mads Orbesen Troest 

--- FleetStreet 1.21+
* Origin: Ensomhed nok til alle juveler... (2:238/202.1)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218
@PATH: 238/202 444 5 9 236/203 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.