[Info-vax] Network mailbox
Bill Pedersen
pedersen at ccsscorp.com
Fri Oct 28 12:42:38 EDT 2011
Well, then do the sensible thing and have a two cooperating tasks - one on
each system - that really understand networking and also really understand
the local mailbox. Then the cooperating tasks can exchange messages via
DECnet task to task or even via TCPIP and do so reasonably and also then
talk directly to the mailbox using the appropriate code.
Bill Pedersen
CCSS - Computer Consulting System Services, LLC
211 Ruth Drive
Gaffney, SC 29341
Telephone: 864-490-8863
Mobile: 408-892-5204
Facsimile: 866-394-9148
www: www.ccsscorp.com
Skype Name: william.a.pedersen
LinkedIn Profile: www.linkedin.com/in/billpedersen
-----Original Message-----
From: info-vax-bounces at rbnsn.com [mailto:info-vax-bounces at rbnsn.com] On
Behalf Of Snowshoe
Sent: Friday, October 28, 2011 12:00 PM
To: info-vax at rbnsn.com
Subject: Re: [Info-vax] Network mailbox
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.
_______________________________________________
Info-vax mailing list
Info-vax at rbnsn.com
http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
More information about the Info-vax
mailing list