[Info-vax] Network mailbox
Snowshoe
no at spam.please
Fri Oct 28 11:59:33 EDT 2011
On 10/28/2011 11:21 AM, VAXman- @SendSpamHere.ORG wrote:
> Why are you using RMS to read and write the mailbox? The mailbox driver
> has special function modifiers (ie. IO$M_NOW) that can be used with $QIO
> IO$_READVBLK and IO$_WRITEVBLK when the target device is a mailbox. The
> $QIO IO$_READVBLK would normally wait and only complete when there's been
> a message deposited into the mailbox. This you apparently have correct.
>
> I'd lose the $PUT and use IO$_WRITEVBLK|IO$M_NOW. I think you can still
> use the $OPEN but you'll probably want to specify UFO and then, there is
> no need for the $CONNECT. Just issues $QIO IO$_WRITEVBLK|IO$M_NOW to the
> channel returned in the FAB's STV.
>
I would be more than glad to do that -- if there was a way to do so over
the network.
Right now there are two processes on one system (an old VAX) that
communicate with each other via Mailboxes. My task is to move one
process to a new system and communicate with the second process's
mailboxes over the network (DECnet). I am creating an additional
process that transfers data from clones of the mailboxes on the new
system over the network to the old system.
More information about the Info-vax
mailing list