Macro! Here be lions, indeed!
-----Original Message-----
From: owner-hecnet at Update.UU.SE <owner-hecnet at Update.UU.SE> On Behalf Of
Paul Koning
Sent: Thursday, December 16, 2021 6:51 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] DECnet/E programming manual / examples
On Dec 16, 2021, at 10:52 AM, Keith Halewood
<Keith.Halewood at pitbulluk.org> wrote:
There is also some information in the RSTS/E programming manual
(
http://www.bitsavers.org/pdf/dec/pdp11/rsts/V09/6_System_Programming/AA-EZ0
9A-TC_Prog_RSTS_E_V9.4_Programming_Manual_Jun87.pdf) about setting up
message handling (generic local and also decnet/e) but as Paul has said, it
is very low level and as far away from a transparent task= type setup as is
possible to be.
That's the standard Basic-PLUS API, but while that manual mentions in
passing that other function codes of the send/receive system call are used
with DECnet, it does not spell out what those function codes are or how to
use them.
There's nothing like the transparent task access that VMS has. The "high
level" subroutine library is not anywhere near that high level... but it's
about the most convenient interface you'll find. Many of the DEC supplied
DECnet/E utilities use that library, but unfortunately all of them are
fairly long.
Hm... "mirror" is an assembly language program, it uses a set of macros that
correspond 1:1 with the DNEHLL library functions. It's the receiving end of
a connection rather than the sending end but it might still be somewhat
useful, at least it's fairly short.
paul