| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Comm Help |
BE> > what I want to do is to work on a Door Program that will inherit the > open port handle. I would like to know how to use that open comm > handle. BE> DosRead and DosWrite, just like any other file handle. Category 1 DosDevIOCtl to do things like setting the BPS rate and so forth. BE> > Or I would like to know if I use the DosOpen and start up and > program trying to grab that comm port will it have problems if the BBS has > (if that made sense) BE> DosOpen may or may not succeed, depending from the sharing mode that the BBS program used when *it* opened the COM device. It it used "deny all", then you will not be allowed to open the COM device via DosOpen. However, that is definitely the *wrong* way to do things. If the BBS program passes you a COM device handle, then USE IT. There's no sense in faffing around opening the COM device yourself when you've been given a device handle to use already. And in the long term, your door program then doesn't have trouble when one day someone decides to install it on a LAN, where the COM device is called \\SERVER2\MODEM3 . > JdeBP < ___ X MegaMail 2.10 #0: --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1 @PATH: 440/4 141/209 270/101 712/515 711/808 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™.