Subject: | |
From: | |
Reply To: | |
Date: | Tue, 14 Jan 2003 14:33:22 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Tom writes:
> When I was asking roughly the same questions you are now, I
> believe someone
> posted a comment to the effect that "taken the other way around" [i.e., a
> fully MPE based solution rather than a come-from-posix solution] you could
> use the NETIPC intrinsics to do this [essentially, "select" on both MPE
> message files and IP-based sockets in the same call], but I was too deeply
> enmeshed with my current "solution" to change things -- you might have the
> opportunity to investigate this however...
Using NOWAIT I/O simultaneously on NetIPC connections and Message Files
works just great (and you can throw in terminal I/O if you want to). You
can issue reads on all your open files and connections and then sit on an
IOWAIT call until something happens, with an optional timeout (which you
usually don't need) or you can use IODONTWAIT to poll for events.
And NetIPC "sockets" can talk to Berkeley sockets on the other end of the
connection without any major problems.
G.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|