| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | RXASYNC - Serial I/O |
IT> One point to note however is that the process that you are running IT> the RxAsync based script in should be a child of the process which IT> opened the com port so that it can inherit access to it. This is an IT> OS/2 restriction (I think this still holds in 2.x). Also the open IT> needs to be of an appropriate type, ie. OPEN_SHARE_DENYNONE so A process that is inheriting a file handle does NOT require that the handle have been opened with OPEN_SHARE_DENYNONE, since it is not reopening the file/port!! This is the whole point of passing the hot handle. The parent probably should have (and DEFINITELY should have for OS/2 comm programs) opened the port in OPEN_SHARE_DENYREADWRITE mode. This is exactly what Maximus does (I wrote it). IT> that you are permitted to read and write to it. Unfortunately, IT> some things (nameley IBM's SLIP) open in OPEN_SHARE_DENYREADWRITE IT> which is down right ornery! If opened via RxAsyncOpen you'll get Nope -- it's downright CORRECT. You can't leave the door open for another uninvited process/session to open a device that is inherently single-user, like a serial port. --- Maximus/2 2.02p1* Origin: Sol 3/Toronto (905)858-8488 (1:259/414) 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: 259/414 400 99 250/702 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™.