TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: all
from: Simeon Cran
date: 1995-11-08 21:10:04
subject: I wonder how PMLM works?

The PMLM program that comes with SIO is a "Poor Man's Line
Monitor" that is able to show you what is happening on the serial
ports. It's a great little tool.

But it got me wondering how it's done. At first I thought it was a simple
matter of opening the com port as READONLY and DENYNONE, and this works
reasonably well. Then you can use DosDevIoctl calls to get info from the
serial port device driver.

But then, when I started up Faxworks, Faxworks (which uses its own comms
driver) was denied access to the port because I still had an open file
handle on the port. Makes sense, except that somehow PMLM manages to simply
step aside when Faxworks is running. It doesn't report any activity, but it
also doesn't interfere.


Anyone got any ideas about how PMLM does it?

simeon

--- FleetStreet 1.10 NR
* Origin: Home of MyZ80 (3:640/236)
SEEN-BY: 620/243 632/348 640/101 201 206 208 217 236 241 301 305 371 814 820
SEEN-BY: 640/821 822 823 690/660 711/409 410 413 430 807 808 809 934 949 955
SEEN-BY: 712/515 713/888 800/1 7877/2809
@PATH: 640/236 208 820 711/409 808 809 934

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™.