| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Monitoring data send/received on com-port |
Hello PHIL! Thursday, January 16 1997, PHIL PATTENGALE wrote to JEFFREY HABETS: ->> I would like to monitor all incoming and/or outgoing data on the ->> serial port. Now, that wouldn't be to difficult if my program was PP> Well, if you don't wanna re-invent the wheel, I want to.. :) PP> I'd suggest you look at Ray Gwinn's PMLM (Poor Man's Line Monitor) which PP> is included with his SIO package. This displays all the chars going in PP> and out of a port, as well as tracking line signals being raised & PP> lowered. Handy program. I know the PMLM does (among other things) what I want, and I think it uses some undocumented hooks in SIO.. The problem is that I want to put some features like measuring cps-rate and catching the dialed telephonenumber into a program I'm working on. Thus third party software is out of the question. Tracking the line signals is easy.. The big problem is 'peeking' at incoming and outgoing data. I could do things from an IOPL segment and read directly from the port, but than I _must_ pol the port at least 3500 times/second if I want to be able to count the cps for a 28k8 connection. I'll then probably need to use TIMER0.SYS for the timing-issue. Quite a hassle. I just wonder how DosRead() manages to block on a read from a port. Seems to me it must be able to receive interrupts somehow. PP> Course, if you wanna write your own, I can't help there. To bad.. But thanks anyway. Greetz from Maastricht/The Netherlands, Jeffrey > --- GoldED/2 2.51.A0901+ /\ FMail/2 1.02+* Origin: PM Timer/2 - Watch your online phone costs !! (2:284/312.3) SEEN-BY: 50/99 54/99 270/101 620/243 625/110 160 711/401 413 430 808 934 SEEN-BY: 712/311 407 505 506 517 623 624 704 713/317 800/1 @PATH: 284/312 3 5 282/123 280/801 270/101 712/624 711/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™.