TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Ian Timms
from: Mike Stella
date: 1995-03-20 13:40:52
subject: RXASYNC - Serial I/O

A creature called Ian Timms screamed at Mike Stella:

MS>   So you want something that can take the com handle, and tell you what
MS>port (COM1, COM2, etc) it really is?  I see.  That would be very 
MS>useful, but I can't think of a way to do it.  Could you do 
MS>it using IOCTL functions, like you would set the settings 
MS>of the COM port?

 IT> There's no way to determine the ports symbolic name (ie.
 IT> COM1) from the handle that I know of off hand, as the handle
 IT> is just a  normal system file handle.

 IT> If there was a function anywhere that can give you the file
 IT> name for a given handle then I would expect to get back
 IT> '/DEV/COMn' from it. But frankly I can't remember seeing any
 IT> such function in the docs.

   Okay, that's what I thought.  I don't know if such a function would be
all that useful either... but anyways...

   .\\ike Stella

--- ShadowMail/2 1.00
* Origin: Shadowland/2 - 203.456.1103 (V34) & 203.456.4244 (V32) (1:327/138)
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: 327/138 469 451 324/288 3615/50 396/1 270/101 105/103 42 712/515
@PATH: 711/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™.