[HECnet] Sample DCL code for simple client-server task-to-task comms

G. gerry77 at mail.com
Wed Jan 16 22:57:45 PST 2013


On Thu, 17 Jan 2013 02:52:59 +0200, you wrote:

OK, figured that out, I have to use an open to access it first.

IIRC, your procedure must open SYS$NET, no matter what it will possibly send
through it, even if it will not send anything back, because it is the opening
of SYS$NET that triggers the dispatching of the DECnet connect-confirm message
back from the target node to the originating one.

Just try a procedure that does a five minutes wait, but does not open SYS$NET,
and you'll see that the network will time out with an error way before five
minutes (and your procedure will be stopped). Then simply add the open of
SYS$NET before the wait command and you will see that it will work whatever
time you chose for the wait, i.e. it will not time out, because the connection
will be opened and confirmed both sides and both ways.

IIRC it's not even necessary to explicitly send something thru SYS$NET to
confirm the connection, just open it.

HTH, :)
G.



More information about the Hecnet-list mailing list