HP3000-L Archives

January 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Tue, 14 Jan 2003 14:33:22 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
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 *

ATOM RSS1 RSS2