TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Ian Timms
from: Jerry McBride
date: 1995-03-12 10:21:06
subject: RXASYNC - Serial I/O

Ian Timms wrote in a message to Jerry McBride:

 IT> {at}MSGID: 3:633/379.0 2f5af274
 IT> On the 02-28-95, Jerry Mcbride was chatting with Mike
 IT> Stella: 

 IT> [deletia]

JM>No. I was hoping to drop the "dos way of doing things" and 
JM>use os2 comhandles instead of dos comports. As delivered, 
JM>rxasync uses a comport number to open and close the serial 
JM>ports. It'd be better, at least to me, to use handles, like 
JM>the rest of os2 does.

 IT> Actually, "as delivered", RxAsync lets you do it
both ways! 

Ian! Great to hear form you! Did you receive my netmail messages??? I've
sent a few routed and I've called the bbs you habitate and left some there
also.

This is great news. It's something that I hadn't tried as it's not
something that most programmers provide for. I'll try it later on...

Thanks!

 IT> If you don't have an open com port handle then use RxAsyncOpen 
 IT> to get it.

 IT> If you already have an open com port handle then just pass
 IT> it it into the calls eg. RxAsyncRead etc, it'll be accepted,
 IT> no need to do the open, no problems, no questions asked, no
 IT> quarter given!

Great! This is what I wanted to do!

 IT> The only proviso with the 'direct' method is that the beast you 
 IT> got the handle from better have opened it as 
 IT> READWRITE_DENYNONE!!! (simplisticly speaking.)

Hmmm... what happens if the passing routined fails to pass the handle off
in readwrite_denynone?


Jerry McBride 
--- timEd/2 1.01+
* Origin: MoDem_Corner_609-877-0836_EdgeWater_Park_NJ_USA_V.34 (1:266/28)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 266/28 400 100 505 3615/50 396/1 270/101 105/103 42 712/515 711/808
@PATH: 711/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™.