Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The first version always gets thrown away.


computers / comp.os.vms / Re: VMS process communication

SubjectAuthor
* VMS process communicationArne Vajhøj
+* Re: VMS process communicationJohn Forkosh
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationDave Froble
|+* Re: VMS process communicationSingle Stage to Orbit
||`* Re: VMS process communicationCraig A. Berry
|| `* Re: VMS process communicationArne Vajhøj
||  +- Re: VMS process communicationDave Froble
||  +* Re: VMS process communicationArne Vajhøj
||  |`* Re: VMS process communicationJan-Erik Söderholm
||  | `* Re: VMS process communicationSingle Stage to Orbit
||  |  `* Re: VMS process communicationArne Vajhøj
||  |   `* Re: VMS process communicationJan-Erik Söderholm
||  |    +* Re: VMS process communicationArne Vajhøj
||  |    |`- Re: VMS process communicationArne Vajhøj
||  |    `- Re: VMS process communicationStephen Hoffman
||  `* Re: VMS process communicationArne Vajhøj
||   `* Re: VMS process communicationIan Miller
||    `* Re: VMS process communicationJohn Reagan
||     `* Re: VMS process communicationArne Vajhøj
||      `- Re: VMS process communicationArne Vajhøj
|+* Re: VMS process communicationMarc Van Dyck
||`- Re: VMS process communicationSingle Stage to Orbit
|`* Re: VMS process communicationLee Gleason
| +* Re: VMS process communicationDave Froble
| |`* Re: VMS process communicationRobert A. Brooks
| | +- Re: VMS process communicationDave Froble
| | `- Re: VMS process communicationRichard Maher
| `* Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationDave Froble
|   `* Re: VMS process communicationArne Vajhøj
|    +- Re: VMS process communicationStephen Hoffman
|    +- Re: VMS process communicationRichard Maher
|    `- Re: VMS process communicationDave Froble
+* Re: VMS process communicationBob Gezelter
|+* Re: VMS process communicationSimon Clubley
||`* Re: VMS process communicationBob Gezelter
|| `* Re: VMS process communicationDave Froble
||  `* Re: VMS process communicationStephen Hoffman
||   `* Re: VMS process communicationDave Froble
||    `* Re: VMS process communicationStephen Hoffman
||     `* Re: VMS process communicationDave Froble
||      `* Re: VMS process communicationSimon Clubley
||       `* Re: VMS process communicationDave Froble
||        `- Re: VMS process communicationFred. Zwarts
|+- Re: VMS process communicationStephen Hoffman
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationMarc Van Dyck
|`* Re: VMS process communicationArne Vajhøj
| +- Re: VMS process communicationCraig A. Berry
| `* Re: VMS process communicationDave Froble
|  +- Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationJan-Erik Söderholm
|   `* Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationDave Froble
|    |`- Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationArne Vajhøj
|    |`* Re: VMS process communicationArne Vajhøj
|    | `* Re: VMS process communicationSimon Clubley
|    |  `- Re: VMS process communicationArne Vajhøj
|    `* Re: VMS process communicationStephen Hoffman
|     `* Re: VMS process communicationRichard Maher
|      `- Re: VMS process communicationStephen Hoffman
`* Re: VMS process communicationArne Vajhøj
 +* Re: VMS process communicationSimon Clubley
 |`* Re: VMS process communicationArne Vajhøj
 | `* Re: VMS process communicationArne Vajhøj
 |  +* Re: VMS process communicationCraig A. Berry
 |  |+* Re: VMS process communicationArne Vajhøj
 |  ||`* Re: VMS process communicationSimon Clubley
 |  || `* Re: VMS process communicationArne Vajhøj
 |  ||  `* Re: VMS process communicationSimon Clubley
 |  ||   +* Re: VMS process communicationArne Vajhøj
 |  ||   |`* Re: VMS process communicationDave Froble
 |  ||   | +- Re: VMS process communicationArne Vajhøj
 |  ||   | `* Re: VMS process communicationSimon Clubley
 |  ||   |  `* Re: VMS process communicationDave Froble
 |  ||   |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |    +* Re: VMS process communicationArne Vajhøj
 |  ||   |    |`* Re: VMS process communicationSimon Clubley
 |  ||   |    | `* Re: VMS process communicationArne Vajhøj
 |  ||   |    |  `- Re: VMS process communicationSimon Clubley
 |  ||   |    `* Re: VMS process communicationbill
 |  ||   |     +* Re: VMS process communicationArne Vajhøj
 |  ||   |     |`* Re: VMS process communicationSteven Schweda
 |  ||   |     | `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |  +* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |+* Re: VMS process communicationScott Dorsey
 |  ||   |     |  ||+* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  ||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  `* Re: VMS process communicationDave Froble
 |  ||   |     |   +- Re: VMS process communicationSteven Schweda
 |  ||   |     |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |    +- Re: VMS process communicationDave Froble
 |  ||   |     |    +* Re: VMS process communicationSteven Schweda
 |  ||   |     |    |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |    `* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationSteven Schweda
 |  ||   |     |     |`* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationScott Dorsey
 |  ||   |     |     `* Re: VMS process communicationArne Vajhøj
 |  ||   |     `- Re: VMS process communicationDave Froble
 |  ||   `- Re: VMS process communicationJohnny Billquist
 |  |`* Re: VMS process communicationCraig A. Berry
 |  +* Re: VMS process communicationAndreas Gruhl
 |  +* Re: VMS process communicationJOUKJ
 |  +- Re: VMS process communicationSimon Clubley
 |  `* Re: VMS process communicationArne Vajhøj
 `- Re: VMS process communicationArne Vajhøj

Pages:123456789
VMS process communication

<631fb9a1$0$703$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24770&group=comp.os.vms#24770

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 12 Sep 2022 18:58:41 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Newsgroups: comp.os.vms
Content-Language: en-US
From: arn...@vajhoej.dk (Arne Vajhøj)
Subject: VMS process communication
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 50
Message-ID: <631fb9a1$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 9afe2a87.news.sunsite.dk
X-Trace: 1663023521 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:64906
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Mon, 12 Sep 2022 22:58 UTC

I did a little writeup:

https://www.vajhoej.dk/arne/articles/vmsipc.html

Content:

Introduction
Shared Memory
Concept
Demo
System Service (C, Fortran, Pascal)
Memory Mapped File
Concept
Demo
System Service (C, Fortran, Pascal)
Writeable Shareable Image
Concept
Demo
Linker/installer (Fortran, Pascal, C, Basic)
TCP/IP Socket
Concept
Demo
Java API (Java)
C API (C)
Python API (Python, Jython)
Wrapper C API (Fortran, Pascal, Cobol, Basic)
Message Queue
Concept
Demo
JMS API (Java, Jython)
STOMP C library (C)
STOMP Python library (Python)
Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
Index Sequential File
Concept
Demo
Language builtin (Pascal, Cobol, Basic, Fortran)
RMS API (C)
VMS Python IndexedFile (Python)
JVM ISAM library (Java, Jython)
SQLite Database
Concept
Demo
C API (C)
Python API (Python, Jython)
JDBC API (Java)
JPA API (Java, Jython)
Wrapper C API (Pascal)

Arne

Re: VMS process communication

<tfoqbq$t77$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24771&group=comp.os.vms#24771

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: fork...@panix.com (John Forkosh)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 02:36:42 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tfoqbq$t77$1@reader2.panix.com>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
Injection-Date: Tue, 13 Sep 2022 02:36:42 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="29927"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Tue, 13 Sep 2022 02:36 UTC

Arne Vajh??j <arne@vajhoej.dk> wrote:
> I did a little writeup:
> https://www.vajhoej.dk/arne/articles/vmsipc.html
> Content:
> Introduction
> Shared Memory
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Memory Mapped File
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Writeable Shareable Image
> Concept
> Demo
> Linker/installer (Fortran, Pascal, C, Basic)
> TCP/IP Socket
> Concept
> Demo
> Java API (Java)
> C API (C)
> Python API (Python, Jython)
> Wrapper C API (Fortran, Pascal, Cobol, Basic)
> Message Queue
> Concept
> Demo
> JMS API (Java, Jython)
> STOMP C library (C)
> STOMP Python library (Python)
> Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
> Index Sequential File
> Concept
> Demo
> Language builtin (Pascal, Cobol, Basic, Fortran)
> RMS API (C)
> VMS Python IndexedFile (Python)
> JVM ISAM library (Java, Jython)
> SQLite Database
> Concept
> Demo
> C API (C)
> Python API (Python, Jython)
> JDBC API (Java)
> JPA API (Java, Jython)
> Wrapper C API (Pascal)
> Arne

Thanks so much. That's really terrific. And ditto for your other
articles https://www.vajhoej.dk/arne/articles.html which I hadn't
even been aware of. Maybe you might arrange/aggregate them into one
or more books along the lines of Stallman's just released C tutorial
and reference https://git.savannah.gnu.org/git/c-intro-and-ref.git
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: VMS process communication

<tfot3m$2gasd$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24772&group=comp.os.vms#24772

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 12 Sep 2022 23:23:28 -0400
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <tfot3m$2gasd$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 13 Sep 2022 03:23:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b375384dc09094043c2ba4fbef7d1992";
logging-data="2632589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rhIN2CcKTKkfE4HIwLkFuLiHx62G3We8="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:RLGUJo/XwQPi+H1yp2nn1xfdPlA=
In-Reply-To: <631fb9a1$0$703$14726298@news.sunsite.dk>
 by: Dave Froble - Tue, 13 Sep 2022 03:23 UTC

On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
> I did a little writeup:
>
> https://www.vajhoej.dk/arne/articles/vmsipc.html
>
> Content:
>
> Introduction
> Shared Memory
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Memory Mapped File
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Writeable Shareable Image
> Concept
> Demo
> Linker/installer (Fortran, Pascal, C, Basic)
> TCP/IP Socket
> Concept
> Demo
> Java API (Java)
> C API (C)
> Python API (Python, Jython)
> Wrapper C API (Fortran, Pascal, Cobol, Basic)
> Message Queue
> Concept
> Demo
> JMS API (Java, Jython)
> STOMP C library (C)
> STOMP Python library (Python)
> Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
> Index Sequential File
> Concept
> Demo
> Language builtin (Pascal, Cobol, Basic, Fortran)
> RMS API (C)
> VMS Python IndexedFile (Python)
> JVM ISAM library (Java, Jython)
> SQLite Database
> Concept
> Demo
> C API (C)
> Python API (Python, Jython)
> JDBC API (Java)
> JPA API (Java, Jython)
> Wrapper C API (Pascal)
>
> Arne

Why no mention of mailboxs ?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24774&group=comp.os.vms#24774

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!palladium.buellnet!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 08:39:02 +0100
Organization: One very high maintenance cat
Message-ID: <80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
Reply-To: alex.buell@munted.eu
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: solani.org;
logging-data="100711"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Evolution 3.44.3
Cancel-Lock: sha1:CMnVyFw3MAHpDQwIz8fYanQQW+M=
In-Reply-To: <tfot3m$2gasd$1@dont-email.me>
X-User-ID: eJwFwQkRwEAIBDBLx7MwlQMs+JfQBBYSkx4Ix+GOPe+xiBaSpiTU75ap6V/lbEF8jWdiqSrJRu+McKDyA5BkFsQ=
 by: Single Stage to Orbi - Tue, 13 Sep 2022 07:39 UTC

On Mon, 2022-09-12 at 23:23 -0400, Dave Froble wrote:
> Why no mention of mailboxs ?

I did wonder about that, too.

--
Tactical Nuclear Kittens

Re: VMS process communication

<mn.6a5a7e69f8cb41af.104627@invalid.skynet.be>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24775&group=comp.os.vms#24775

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!En8owL5it4/3ZskmBb92KA.user.46.165.242.75.POSTED!not-for-mail
From: marc.gr....@invalid.skynet.be (Marc Van Dyck)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 10:02:16 +0200
Organization: Aioe.org NNTP Server
Message-ID: <mn.6a5a7e69f8cb41af.104627@invalid.skynet.be>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tfot3m$2gasd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="64471"; posting-host="En8owL5it4/3ZskmBb92KA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: MesNews/1.08.06.00-gb
X-Notice: Filtered by postfilter v. 0.9.2
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
 by: Marc Van Dyck - Tue, 13 Sep 2022 08:02 UTC

Dave Froble formulated on Tuesday :
> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>> I did a little writeup:
>>
>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>
>> Content:
>>
>> Introduction
>> Shared Memory
>> Concept
>> Demo
>> System Service (C, Fortran, Pascal)
>> Memory Mapped File
>> Concept
>> Demo
>> System Service (C, Fortran, Pascal)
>> Writeable Shareable Image
>> Concept
>> Demo
>> Linker/installer (Fortran, Pascal, C, Basic)
>> TCP/IP Socket
>> Concept
>> Demo
>> Java API (Java)
>> C API (C)
>> Python API (Python, Jython)
>> Wrapper C API (Fortran, Pascal, Cobol, Basic)
>> Message Queue
>> Concept
>> Demo
>> JMS API (Java, Jython)
>> STOMP C library (C)
>> STOMP Python library (Python)
>> Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
>> Index Sequential File
>> Concept
>> Demo
>> Language builtin (Pascal, Cobol, Basic, Fortran)
>> RMS API (C)
>> VMS Python IndexedFile (Python)
>> JVM ISAM library (Java, Jython)
>> SQLite Database
>> Concept
>> Demo
>> C API (C)
>> Python API (Python, Jython)
>> JDBC API (Java)
>> JPA API (Java, Jython)
>> Wrapper C API (Pascal)
>>
>> Arne
>
> Why no mention of mailboxs ?

Was going to ask the same. Simple and efficient, covers many of the
needs. Enough for me to motivate the development of a wrapper allowing
me to use mailboxes from DCL.

--
Marc Van Dyck

Re: VMS process communication

<ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24777&group=comp.os.vms#24777

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5dc8:0:b0:4ac:7fff:4360 with SMTP id m8-20020ad45dc8000000b004ac7fff4360mr19713197qvh.69.1663061359839;
Tue, 13 Sep 2022 02:29:19 -0700 (PDT)
X-Received: by 2002:a05:622a:1a01:b0:35b:a454:dd01 with SMTP id
f1-20020a05622a1a0100b0035ba454dd01mr15715195qtb.350.1663061359665; Tue, 13
Sep 2022 02:29:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 13 Sep 2022 02:29:19 -0700 (PDT)
In-Reply-To: <631fb9a1$0$703$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
Subject: Re: VMS process communication
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Tue, 13 Sep 2022 09:29:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3750
 by: Bob Gezelter - Tue, 13 Sep 2022 09:29 UTC

On Monday, September 12, 2022 at 6:58:44 PM UTC-4, Arne Vajhøj wrote:
> I did a little writeup:
>
> https://www.vajhoej.dk/arne/articles/vmsipc.html
>
> Content:
>
> Introduction
> Shared Memory
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Memory Mapped File
> Concept
> Demo
> System Service (C, Fortran, Pascal)
> Writeable Shareable Image
> Concept
> Demo
> Linker/installer (Fortran, Pascal, C, Basic)
> TCP/IP Socket
> Concept
> Demo
> Java API (Java)
> C API (C)
> Python API (Python, Jython)
> Wrapper C API (Fortran, Pascal, Cobol, Basic)
> Message Queue
> Concept
> Demo
> JMS API (Java, Jython)
> STOMP C library (C)
> STOMP Python library (Python)
> Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
> Index Sequential File
> Concept
> Demo
> Language builtin (Pascal, Cobol, Basic, Fortran)
> RMS API (C)
> VMS Python IndexedFile (Python)
> JVM ISAM library (Java, Jython)
> SQLite Database
> Concept
> Demo
> C API (C)
> Python API (Python, Jython)
> JDBC API (Java)
> JPA API (Java, Jython)
> Wrapper C API (Pascal)
>
> Arne
Arne,

My compliments. I know all too well how much effort it takes to produce such a compendium.

As has been observed, mailboxes are not included.

DECnet Task-to-Task would also make a useful addition. While DECnet does not include encryption, an omission that I have been quietly outraged by for decades, when tunneled over an encrypted IP tunnel OR used locally, it is quite useful. DECnet logical links are message-based, unlike stream-based TCP sockets, which does simplify programming to an extent.

Both network-based techniques have a significant synchronization advantage over shared memory techniques. When either partner of a TCP socket or a DECnet logical link exits, the corresponding partner is automatically notified, allowing the appropriate steps to be taken. Detecting a failed correspondent is far more complex with shared memory techniques. Network links are also atomic. A message is sent or not, there are no partial messages. Shared memory approaches have the inherent danger that an update may be incomplete, corrupting the shared data structure.

My normal recommendation has been to implement using message-passing techniques, unless one can conclusively demonstrate that the performance increment achieved by shared memory can be justified.

- Bob Gezelter, http://www.rlgsc.com

Re: VMS process communication

<11059ca09b27e4575b2c634d9ad7322b9e228510.camel@munted.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24778&group=comp.os.vms#24778

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!palladium.buellnet!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 10:12:48 +0100
Organization: One very high maintenance cat
Message-ID: <11059ca09b27e4575b2c634d9ad7322b9e228510.camel@munted.eu>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<mn.6a5a7e69f8cb41af.104627@invalid.skynet.be>
Reply-To: alex.buell@munted.eu
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: solani.org;
logging-data="102642"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Evolution 3.44.4
Cancel-Lock: sha1:V2mVhj46BuCUI3d16X/DW5vJ4Ao=
X-User-ID: eJwFwQkBwDAIA0BLgxDWyuH1L6F3hIvXb043LrcHISmqE3B8uWS0Z9bMbchOJFtGUMo2eoFltlePRo2dB30eFmk=
In-Reply-To: <mn.6a5a7e69f8cb41af.104627@invalid.skynet.be>
 by: Single Stage to Orbi - Tue, 13 Sep 2022 09:12 UTC

On Tue, 2022-09-13 at 10:02 +0200, Marc Van Dyck wrote:
> > Why no mention of mailboxs ?
>
> Was going to ask the same. Simple and efficient, covers many of the
> needs. Enough for me to motivate the development of a wrapper
> allowing me to use mailboxes from DCL.

Back in the early 90s at Portsmouth Uni, we put together a MUD game
using only mailboxes as the chaps running the VAX systems limited us to
only the TMPMBX privileges and a ridiculously small 200 block quota
--
Tactical Nuclear Kittens

Re: VMS process communication

<tfpueg$2j5a4$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24779&group=comp.os.vms#24779

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 07:52:32 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tfpueg$2j5a4$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Sep 2022 12:52:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="289895396bb207421db60c99053e2c93";
logging-data="2725188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FfFXifpIy+fkFBZogdHstR4g01oFIt3Y="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.2.2
Cancel-Lock: sha1:iu3CtR78L336e2bidHa3lCgglO4=
In-Reply-To: <80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
Content-Language: en-US
 by: Craig A. Berry - Tue, 13 Sep 2022 12:52 UTC

On 9/13/22 2:39 AM, Single Stage to Orbit wrote:
> On Mon, 2022-09-12 at 23:23 -0400, Dave Froble wrote:
>> Why no mention of mailboxs ?
>
> I did wonder about that, too.

My first thought was why no ICC. And then I actually looked at the
page, which says:

Some ways of process communication are not covered (yet) including:

mailboxes
sys$icc_* system services

Re: VMS process communication

<2W1UK.25672$1Ly7.24696@fx34.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24780&group=comp.os.vms#24780

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx34.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Subject: Re: VMS process communication
Content-Language: en-US
Newsgroups: comp.os.vms
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
From: lee.glea...@comcast.net (Lee Gleason)
In-Reply-To: <tfot3m$2gasd$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: Avast (VPS 220913-2, 9/13/2022), Outbound message
X-Antivirus-Status: Clean
Lines: 64
Message-ID: <2W1UK.25672$1Ly7.24696@fx34.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Tue, 13 Sep 2022 16:08:30 UTC
Organization: usenet-news.net
Date: Tue, 13 Sep 2022 11:08:30 -0500
X-Received-Bytes: 2735
 by: Lee Gleason - Tue, 13 Sep 2022 16:08 UTC

On 9/12/2022 10:23 PM, Dave Froble wrote:
> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>> I did a little writeup:
>>
>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>
>> Content:
>>
>>     Introduction
>>     Shared Memory
>>         Concept
>>         Demo
>>         System Service (C, Fortran, Pascal)
>>     Memory Mapped File
>>         Concept
>>         Demo
>>         System Service (C, Fortran, Pascal)
>>     Writeable Shareable Image
>>         Concept
>>         Demo
>>         Linker/installer (Fortran, Pascal, C, Basic)
>>     TCP/IP Socket
>>         Concept
>>         Demo
>>         Java API (Java)
>>         C API (C)
>>         Python API (Python, Jython)
>>         Wrapper C API (Fortran, Pascal, Cobol, Basic)
>>     Message Queue
>>         Concept
>>         Demo
>>         JMS API (Java, Jython)
>>         STOMP C library (C)
>>         STOMP Python library (Python)
>>         Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
>>     Index Sequential File
>>         Concept
>>         Demo
>>         Language builtin (Pascal, Cobol, Basic, Fortran)
>>         RMS API (C)
>>         VMS Python IndexedFile (Python)
>>         JVM ISAM library (Java, Jython)
>>     SQLite Database
>>         Concept
>>         Demo
>>         C API (C)
>>         Python API (Python, Jython)
>>         JDBC API (Java)
>>         JPA API (Java, Jython)
>>         Wrapper C API (Pascal)
>>
>> Arne
>
> Why no mention of mailboxs ?
>

And event flags and locks?

--
Lee K. Gleason N5ZMR
Control-G Consultants
lee.gleason@comcast.net

Re: VMS process communication

<tfqg11$2krgs$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24781&group=comp.os.vms#24781

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 17:52:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <tfqg11$2krgs$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
Injection-Date: Tue, 13 Sep 2022 17:52:33 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="50e6e9b3314a88d84dc7a61153a938cf";
logging-data="2780700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i8WZ8MJRgabmmGV3XUP0+HCyVW4sNJus="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:mMCyTCoo4aa3wSKAOp1in/hRqS0=
 by: Simon Clubley - Tue, 13 Sep 2022 17:52 UTC

On 2022-09-13, Bob Gezelter <gezelter@rlgsc.com> wrote:
>
> My compliments. I know all too well how much effort it takes to produce such a compendium.
>
> As has been observed, mailboxes are not included.
>
> DECnet Task-to-Task would also make a useful addition. While DECnet does
> not include encryption, an omission that I have been quietly outraged by
> for decades, when tunneled over an encrypted IP tunnel OR used locally, it
> is quite useful. DECnet logical links are message-based, unlike
> stream-based TCP sockets, which does simplify programming to an extent.

However, encryption only protects the data while it is in transit. It does
nothing to stop attacks against the protocol stack in the target server
itself if the client has access to the target server.

>
> Both network-based techniques have a significant synchronization
> advantage over shared memory techniques. When either partner of a TCP
> socket or a DECnet logical link exits, the corresponding partner is
> automatically notified, allowing the appropriate steps to be taken.
> Detecting a failed correspondent is far more complex with shared memory
> techniques. Network links are also atomic. A message is sent or not, there
> are no partial messages. Shared memory approaches have the inherent danger
> that an update may be incomplete, corrupting the shared data structure.
>

The no-partial-message guarantee is only true for stream protocols if you
implement something on top of the stream protocol that guarantees you have
received a full message.

In a stream protocol, just because the transmitter sent 4000 bytes, there's
no guarantee that all 4000 bytes were delivered to the receiver before
some connection interruption occurred.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS process communication

<970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24783&group=comp.os.vms#24783

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4729:b0:6ce:e55:b6ab with SMTP id bs41-20020a05620a472900b006ce0e55b6abmr11145224qkb.36.1663100634724;
Tue, 13 Sep 2022 13:23:54 -0700 (PDT)
X-Received: by 2002:ac8:5f0d:0:b0:343:6e79:f1a2 with SMTP id
x13-20020ac85f0d000000b003436e79f1a2mr29701480qta.657.1663100634504; Tue, 13
Sep 2022 13:23:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 13 Sep 2022 13:23:54 -0700 (PDT)
In-Reply-To: <tfqg11$2krgs$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
<tfqg11$2krgs$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com>
Subject: Re: VMS process communication
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Tue, 13 Sep 2022 20:23:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3915
 by: Bob Gezelter - Tue, 13 Sep 2022 20:23 UTC

On Tuesday, September 13, 2022 at 1:52:35 PM UTC-4, Simon Clubley wrote:
> On 2022-09-13, Bob Gezelter <geze...@rlgsc.com> wrote:
> >
> > My compliments. I know all too well how much effort it takes to produce such a compendium.
> >
> > As has been observed, mailboxes are not included.
> >
> > DECnet Task-to-Task would also make a useful addition. While DECnet does
> > not include encryption, an omission that I have been quietly outraged by
> > for decades, when tunneled over an encrypted IP tunnel OR used locally, it
> > is quite useful. DECnet logical links are message-based, unlike
> > stream-based TCP sockets, which does simplify programming to an extent.
> However, encryption only protects the data while it is in transit. It does
> nothing to stop attacks against the protocol stack in the target server
> itself if the client has access to the target server.
> >
> > Both network-based techniques have a significant synchronization
> > advantage over shared memory techniques. When either partner of a TCP
> > socket or a DECnet logical link exits, the corresponding partner is
> > automatically notified, allowing the appropriate steps to be taken.
> > Detecting a failed correspondent is far more complex with shared memory
> > techniques. Network links are also atomic. A message is sent or not, there
> > are no partial messages. Shared memory approaches have the inherent danger
> > that an update may be incomplete, corrupting the shared data structure.
> >
> The no-partial-message guarantee is only true for stream protocols if you
> implement something on top of the stream protocol that guarantees you have
> received a full message.
>
> In a stream protocol, just because the transmitter sent 4000 bytes, there's
> no guarantee that all 4000 bytes were delivered to the receiver before
> some connection interruption occurred.
>
> Simon.
>
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
Simon,

I mentioned message framing, although may phrasing may have been very soft. Of course, when using a stream connection, there is no mapping between QIO on the sender and the receive at the recipient. The only guarantee is that the bytes will be delivered in order. If the connection is severed, the results are "undefined." [If memory serves, Gene Amdahl was credited with that phrasing, which appeared in the IBM Systems/360 Principles of Operation manual.]

- Bob Gezelter, http://www.rlgsc.com

Re: VMS process communication

<tfqpuj$2ltd6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24784&group=comp.os.vms#24784

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 16:41:55 -0400
Organization: HoffmanLabs LLC
Lines: 67
Message-ID: <tfqpuj$2ltd6$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="16d4bea958fcc7bf7251a2e2192c24c0";
logging-data="2815398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192ohO+hvRm3y97MaLiQCMq2GOhvD3JZAo="
User-Agent: Unison/2.2
Cancel-Lock: sha1:AbJWVjmhDHqboweqFEg5UgPjszU=
 by: Stephen Hoffman - Tue, 13 Sep 2022 20:41 UTC

On 2022-09-13 09:29:19 +0000, Bob Gezelter said:

> As has been observed, mailboxes are not included.
>
> DECnet Task-to-Task would also make a useful addition. While DECnet
> does not include encryption, an omission that I have been quietly
> outraged by for decades, when tunneled over an encrypted IP tunnel OR
> used locally, it is quite useful. DECnet logical links are
> message-based, unlike stream-based TCP sockets, which does simplify
> programming to an extent.
>
> Both network-based techniques have a significant synchronization
> advantage over shared memory techniques. When either partner of a TCP
> socket or a DECnet logical link exits, the corresponding partner is
> automatically notified, allowing the appropriate steps to be taken.
> Detecting a failed correspondent is far more complex with shared memory
> techniques. Network links are also atomic. A message is sent or not,
> there are no partial messages. Shared memory approaches have the
> inherent danger that an update may be incomplete, corrupting the shared
> data structure.
>
> My normal recommendation has been to implement using message-passing
> techniques, unless one can conclusively demonstrate that the
> performance increment achieved by shared memory can be justified.

Network message-passing and shared-file communcations code is usually a
win, as it's common code for either local operations or for local and
remote operations, and it avoids all the "fun" with shared memory cache
coherency. If the performance of shared memory is necessary, it's best
treated as an add-on or an addition to network transfers.

OpenVMS lacks any sort of consistent communications API, with a whole
box of easy-to-make-mistakes some-assembly-required parts including
mailboxes, DECnet and IP, shared memory, DCE RPC and (IIRC) SunRPC, the
ever-popular TLS, intracluster communications services, IRPs and ACPs,
shared files, a couple of different message-passing add-on frameworks
including MQTT, etc.

Missing features here include IP and TLS integration with DCL and with
OpenVMS more generally, and preferably with frameworks intended to deal
with communications including IPv4 and IPv6, DNS, and with UDP, TCP,
QUIC, etc., support for REST, and the rest. Writing this code for
OpenVMS really reminds me of writing assembler. It's absolutely
possible to write this stuff for OpenVMS (including writing that code
in now-compiled VAX assembler), but other platforms abstract all this
for the developer. Which makes this stuff easier and faster to deploy,
and with fewer mistakes.

And preferably with connection security, data encryption, logging, and
authentication—that might not be necessary entirely locally, but I've
seen more than a few of these local YOLO pre-Y2K designs re-used for
remote connections, and where sadness ensued.

I've seen more than a few mistakes made with mailbox and DECnet and IP
communications, too. Mailboxes and DECnet and IP all have a
backpressure design which ~everybody gets wrong when they first
encounter it in production, too. Voice Of Experience: do NOT leave a
session in the debugger and head out to lunch.

And eightcubed has a wealth of source code examples.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VMS process communication

<tfqqio$2lv1u$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24786&group=comp.os.vms#24786

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 16:52:39 -0400
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <tfqqio$2lv1u$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 13 Sep 2022 20:52:40 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b375384dc09094043c2ba4fbef7d1992";
logging-data="2817086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pYayz/18Pz8XaPZtyr4/64DZVN2xI7vw="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:WjpIe7Jq781cy2cohhW/f4Xrk00=
In-Reply-To: <2W1UK.25672$1Ly7.24696@fx34.iad>
 by: Dave Froble - Tue, 13 Sep 2022 20:52 UTC

On 9/13/2022 12:08 PM, Lee Gleason wrote:
> On 9/12/2022 10:23 PM, Dave Froble wrote:
>> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>>> I did a little writeup:
>>>
>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>>
>>> Content:
>>>
>>> Introduction
>>> Shared Memory
>>> Concept
>>> Demo
>>> System Service (C, Fortran, Pascal)
>>> Memory Mapped File
>>> Concept
>>> Demo
>>> System Service (C, Fortran, Pascal)
>>> Writeable Shareable Image
>>> Concept
>>> Demo
>>> Linker/installer (Fortran, Pascal, C, Basic)
>>> TCP/IP Socket
>>> Concept
>>> Demo
>>> Java API (Java)
>>> C API (C)
>>> Python API (Python, Jython)
>>> Wrapper C API (Fortran, Pascal, Cobol, Basic)
>>> Message Queue
>>> Concept
>>> Demo
>>> JMS API (Java, Jython)
>>> STOMP C library (C)
>>> STOMP Python library (Python)
>>> Wrapper C STOMP library (Fortran, Pascal, Cobol, Basic)
>>> Index Sequential File
>>> Concept
>>> Demo
>>> Language builtin (Pascal, Cobol, Basic, Fortran)
>>> RMS API (C)
>>> VMS Python IndexedFile (Python)
>>> JVM ISAM library (Java, Jython)
>>> SQLite Database
>>> Concept
>>> Demo
>>> C API (C)
>>> Python API (Python, Jython)
>>> JDBC API (Java)
>>> JPA API (Java, Jython)
>>> Wrapper C API (Pascal)
>>>
>>> Arne
>>
>> Why no mention of mailboxs ?
>>
>
> And event flags and locks?
>
> --
> Lee K. Gleason N5ZMR
> Control-G Consultants
> lee.gleason@comcast.net
>
>

While some things can be used for simple communications, I'd expect much more
from "communication". But yeah, a simple True/False can be considered
communication.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tfqqvu$2m0fi$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24787&group=comp.os.vms#24787

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 16:59:40 -0400
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <tfqqvu$2m0fi$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
<tfqg11$2krgs$1@dont-email.me>
<970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Sep 2022 20:59:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b375384dc09094043c2ba4fbef7d1992";
logging-data="2818546"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LkFeIn8tbUXhUiX2LVHpGEFKiG+QrRSI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:o8gAmaF3Ovo6RyjzV124WAVzHmA=
In-Reply-To: <970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com>
 by: Dave Froble - Tue, 13 Sep 2022 20:59 UTC

On 9/13/2022 4:23 PM, Bob Gezelter wrote:
> On Tuesday, September 13, 2022 at 1:52:35 PM UTC-4, Simon Clubley wrote:
>> On 2022-09-13, Bob Gezelter <geze...@rlgsc.com> wrote:
>>>
>>> My compliments. I know all too well how much effort it takes to produce such a compendium.
>>>
>>> As has been observed, mailboxes are not included.
>>>
>>> DECnet Task-to-Task would also make a useful addition. While DECnet does
>>> not include encryption, an omission that I have been quietly outraged by
>>> for decades, when tunneled over an encrypted IP tunnel OR used locally, it
>>> is quite useful. DECnet logical links are message-based, unlike
>>> stream-based TCP sockets, which does simplify programming to an extent.
>> However, encryption only protects the data while it is in transit. It does
>> nothing to stop attacks against the protocol stack in the target server
>> itself if the client has access to the target server.
>>>
>>> Both network-based techniques have a significant synchronization
>>> advantage over shared memory techniques. When either partner of a TCP
>>> socket or a DECnet logical link exits, the corresponding partner is
>>> automatically notified, allowing the appropriate steps to be taken.
>>> Detecting a failed correspondent is far more complex with shared memory
>>> techniques. Network links are also atomic. A message is sent or not, there
>>> are no partial messages. Shared memory approaches have the inherent danger
>>> that an update may be incomplete, corrupting the shared data structure.
>>>
>> The no-partial-message guarantee is only true for stream protocols if you
>> implement something on top of the stream protocol that guarantees you have
>> received a full message.
>>
>> In a stream protocol, just because the transmitter sent 4000 bytes, there's
>> no guarantee that all 4000 bytes were delivered to the receiver before
>> some connection interruption occurred.
>>
>> Simon.
>>
>> --
>> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
>> Walking destinations on a map are further away than they appear.
> Simon,
>
> I mentioned message framing, although may phrasing may have been very soft. Of course, when using a stream connection, there is no mapping between QIO on the sender and the receive at the recipient. The only guarantee is that the bytes will be delivered in order. If the connection is severed, the results are "undefined." [If memory serves, Gene Amdahl was credited with that phrasing, which appeared in the IBM Systems/360 Principles of Operation manual.]

That's what "handshakes" are for.

Hey, I want to send some data, 4000 bytes ...
Ok, ready to receive data ...
Send the data, wait for a response ...
Ok, received 4000 bytes ...

Anything else would be considered a failure.

In addition, checksums and such could be included to insure the 4000 bytes sent
is the same 4000 bytes received.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tfr0ha$2mhhp$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24788&group=comp.os.vms#24788

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 18:34:18 -0400
Organization: HoffmanLabs LLC
Lines: 58
Message-ID: <tfr0ha$2mhhp$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com> <tfqg11$2krgs$1@dont-email.me> <970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com> <tfqqvu$2m0fi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="63c98848702a559a7b04d6ea636e096d";
logging-data="2836025"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/c9yX90FIA5VV7qPQN0n2ru/F+TymzCtY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:5wn3dZNP0HXTBekKSEFAAgGtau0=
 by: Stephen Hoffman - Tue, 13 Sep 2022 22:34 UTC

On 2022-09-13 20:59:40 +0000, Dave Froble said:

> That's what "handshakes" are for.
>
> Hey, I want to send some data, 4000 bytes ...
> Ok, ready to receive data ...
> Send the data, wait for a response ...
> Ok, received 4000 bytes ...
>
> Anything else would be considered a failure.
>
> In addition, checksums and such could be included to insure the 4000
> bytes sent is the same 4000 bytes received.

4K is ~one (modern) disk block, but yeah.

More common to send 4K with a checksum, or 4K encrypted with a
checksum, and let the receiver figure it out, though. An
application-level TCP-style handshake is closer to what is described is
certainly workable, but the chatter greatly slows things. I'd probably
look at the QUIC handshake, or at a message-passing or transaction
framework, if I needed the extra chatter. DECdtm, or Paxos protocol,
or MQTT, and tracking the transaction state, etc. But more generally
with the use of TCP or QUIC, you will get notification of either a
successful send, partial send, or of a failure to send.

It's up to the app or the transaction manager to determine where the
failure occurred, just as it's up to app-local error processing the
trap shadow on an Alpha to determine where the error occurred, or other
sorts of errors.

Put somewhat differently, it's usually best to design the connection
for speed and simplicity and for the common cause, and to (potentially)
make the error path and error recovery path somewhat more ugly.

PS: The TCP send operation has four potential outcomes: all bytes
transferred, a partial transfer with a need to loop and send more, a
local failure with no transfer, or a connection failure from the remote
side with no data transferred. Handling this usually involves a state
machine.

PPS: one of the more common errors here with TCP and such is assuming a
1-to-1 mapping of writes to reads. TCP and QUIC don't (necessarily)
work that way. One big write can become many smaller reads, for
instance.

PPPS: Depending on the platform, QUIC can have a specific API:
https://developer.apple.com/documentation/network/quic_options — with
that, QUIC can be switched to datagram, for instance. And AFAIK,
OpenVMS TCP/IP Services has UDP, TCP, and SCTP, but lacks QUIC.

PPPPS: having a framework that deals with this makes this whole area
far easier to deal with, and with fewer mistakes, and with fewer
problems with encryption or authentication.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VMS process communication

<tfr3d2$2kat2$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24789&group=comp.os.vms#24789

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: FIRST.L...@vmssoftware.com (Robert A. Brooks)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 19:23:14 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tfr3d2$2kat2$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
<tfqqio$2lv1u$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Sep 2022 23:23:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="cc8c05010148af2c88f32c62ea92ff1f";
logging-data="2763682"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9o53Pc9j24CrAHs8m/NOyvSZYkzvZEQuC0VZKUJCArA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:JnRcZyCBjoKKJAJbjfSzHw+Hi68=
In-Reply-To: <tfqqio$2lv1u$2@dont-email.me>
X-Antivirus: Avast (VPS 220913-4, 9/13/2022), Outbound message
Content-Language: en-US
X-Antivirus-Status: Clean
 by: Robert A. Brooks - Tue, 13 Sep 2022 23:23 UTC

On 9/13/2022 4:52 PM, Dave Froble wrote:
> On 9/13/2022 12:08 PM, Lee Gleason wrote:

>> And event flags and locks?

>
> While some things can be used for simple communications, I'd expect
> much more from "communication". But yeah, a simple True/False can
> be considered communication.
Lock value blocks can pass up to 16 bytes of data, or 64 bytes if using extended lock value blocks.

Shadowing driver is a heavy consumer of locks and lock value blocks.

-- Rob

Re: VMS process communication

<63212194$0$698$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24791&group=comp.os.vms#24791

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 13 Sep 2022 20:34:27 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: VMS process communication
Content-Language: en-US
Newsgroups: comp.os.vms
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <tfpueg$2j5a4$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 27
Message-ID: <63212194$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 591619b3.news.sunsite.dk
X-Trace: 1663115668 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52944
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 14 Sep 2022 00:34 UTC

On 9/13/2022 8:52 AM, Craig A. Berry wrote:
>
> On 9/13/22 2:39 AM, Single Stage to Orbit wrote:
>> On Mon, 2022-09-12 at 23:23 -0400, Dave Froble wrote:
>>> Why no mention of mailboxs ?
>>
>> I did wonder about that, too.
>
> My first thought was why no ICC.  And then I actually looked at the
> page, which says:
>
> Some ways of process communication are not covered (yet) including:
>
>     mailboxes
>     sys$icc_* system services

They will hopefully both show up. But they did not make
it for version 1.0.

I do not have any experience wth sys$icc_* so that will
need a little research.

I have actually started on mailboxes, I encountered some
problems with what I want to do, so it got postponed.

Arne

Re: VMS process communication

<63212207$0$698$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24792&group=comp.os.vms#24792

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 13 Sep 2022 20:36:22 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: VMS process communication
Content-Language: en-US
Newsgroups: comp.os.vms
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 23
Message-ID: <63212207$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 591619b3.news.sunsite.dk
X-Trace: 1663115783 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52944
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 14 Sep 2022 00:36 UTC

On 9/13/2022 5:29 AM, Bob Gezelter wrote:
> On Monday, September 12, 2022 at 6:58:44 PM UTC-4, Arne Vajhøj wrote:
>> I did a little writeup:
>>
>> https://www.vajhoej.dk/arne/articles/vmsipc.html

> DECnet Task-to-Task would also make a useful addition.

Agree.

I had forgotten about that one.

It will go on the TODO list.

> My normal recommendation has been to implement using message-passing
> techniques, unless one can conclusively demonstrate that the
> performance increment achieved by shared memory can be justified.
I have always liked message queues.

:-)

Arne

Re: VMS process communication

<63212274$0$698$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24793&group=comp.os.vms#24793

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 13 Sep 2022 20:38:11 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: VMS process communication
Content-Language: en-US
Newsgroups: comp.os.vms
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <2W1UK.25672$1Ly7.24696@fx34.iad>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 18
Message-ID: <63212274$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 591619b3.news.sunsite.dk
X-Trace: 1663115892 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52944
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 14 Sep 2022 00:38 UTC

On 9/13/2022 12:08 PM, Lee Gleason wrote:
> On 9/12/2022 10:23 PM, Dave Froble wrote:
>> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>>> I did a little writeup:
>>>
>>> https://www.vajhoej.dk/arne/articles/vmsipc.html

>> Why no mention of mailboxs ?
>
>   And event flags and locks?

To me those are synchronization techniques not communication
techniques - or at least not general communication techniques.

Arne

Re: VMS process communication

<tfr8on$2n4ri$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24794&group=comp.os.vms#24794

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 20:54:45 -0400
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tfr8on$2n4ri$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
<tfqqio$2lv1u$2@dont-email.me> <tfr3d2$2kat2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 14 Sep 2022 00:54:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4868a5bc189c16b0febc636c21b76929";
logging-data="2855794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LP66uswRkSyMbvj6W9+ar385VPueV5yo="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:vU5fDItg3Jw2PHnUsI4+mYi+VcQ=
In-Reply-To: <tfr3d2$2kat2$1@dont-email.me>
 by: Dave Froble - Wed, 14 Sep 2022 00:54 UTC

On 9/13/2022 7:23 PM, Robert A. Brooks wrote:
> On 9/13/2022 4:52 PM, Dave Froble wrote:
>> On 9/13/2022 12:08 PM, Lee Gleason wrote:
>
>>> And event flags and locks?
>
>>
>> While some things can be used for simple communications, I'd expect much more
>> from "communication". But yeah, a simple True/False can
>> be considered communication.
> Lock value blocks can pass up to 16 bytes of data, or 64 bytes if using extended
> lock value blocks.
>
> Shadowing driver is a heavy consumer of locks and lock value blocks.

There are all types of communication requirements. Some simple, some not so
simple. For example:

When I need to tell a detached posting program to process an incoming order,
There are multiple things required in the message.

My utility for such communications passes messages almost 512 bytes in length.
Don't always need that much, but when I do, it's there.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tfr8s6$2n4ri$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24795&group=comp.os.vms#24795

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 20:56:36 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <tfr8s6$2n4ri$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
<63212274$0$698$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 00:56:38 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4868a5bc189c16b0febc636c21b76929";
logging-data="2855794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tB5Eg6qO+p4g+JJZ4WOpw6NMocrVQOTM="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:V1SqAMUlo8ooKrjW+NpMy62ZhAg=
In-Reply-To: <63212274$0$698$14726298@news.sunsite.dk>
 by: Dave Froble - Wed, 14 Sep 2022 00:56 UTC

On 9/13/2022 8:38 PM, Arne Vajhøj wrote:
> On 9/13/2022 12:08 PM, Lee Gleason wrote:
>> On 9/12/2022 10:23 PM, Dave Froble wrote:
>>> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>>>> I did a little writeup:
>>>>
>>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>
>>> Why no mention of mailboxs ?
>>
>> And event flags and locks?
>
> To me those are synchronization techniques not communication
> techniques - or at least not general communication techniques.

As Rob pointed out, one can do a lot with the DLM.

Isn't synchronization itself a form of communication?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tfr92f$2n5m9$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24796&group=comp.os.vms#24796

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 20:59:57 -0400
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <tfr92f$2n5m9$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com>
<tfqg11$2krgs$1@dont-email.me>
<970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com>
<tfqqvu$2m0fi$1@dont-email.me> <tfr0ha$2mhhp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 00:59:59 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4868a5bc189c16b0febc636c21b76929";
logging-data="2856649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/G98hjmhPPSlOyN577IPhAwECmhCTWVdw="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:iNH8+ZO6HmwOmgUZj6pkZz6FjkU=
In-Reply-To: <tfr0ha$2mhhp$1@dont-email.me>
 by: Dave Froble - Wed, 14 Sep 2022 00:59 UTC

On 9/13/2022 6:34 PM, Stephen Hoffman wrote:
> On 2022-09-13 20:59:40 +0000, Dave Froble said:
>
>> That's what "handshakes" are for.
>>
>> Hey, I want to send some data, 4000 bytes ...
>> Ok, ready to receive data ...
>> Send the data, wait for a response ...
>> Ok, received 4000 bytes ...
>>
>> Anything else would be considered a failure.
>>
>> In addition, checksums and such could be included to insure the 4000 bytes
>> sent is the same 4000 bytes received.
>
> 4K is ~one (modern) disk block, but yeah.
>
> More common to send 4K with a checksum, or 4K encrypted with a checksum, and let
> the receiver figure it out, though. An application-level TCP-style handshake is
> closer to what is described is certainly workable, but the chatter greatly slows
> things. I'd probably look at the QUIC handshake, or at a message-passing or
> transaction framework, if I needed the extra chatter. DECdtm, or Paxos
> protocol, or MQTT, and tracking the transaction state, etc. But more generally
> with the use of TCP or QUIC, you will get notification of either a successful
> send, partial send, or of a failure to send.
>
> It's up to the app or the transaction manager to determine where the failure
> occurred, just as it's up to app-local error processing the trap shadow on an
> Alpha to determine where the error occurred, or other sorts of errors.
>
> Put somewhat differently, it's usually best to design the connection for speed
> and simplicity and for the common cause, and to (potentially) make the error
> path and error recovery path somewhat more ugly.
>
> PS: The TCP send operation has four potential outcomes: all bytes transferred, a
> partial transfer with a need to loop and send more, a local failure with no
> transfer, or a connection failure from the remote side with no data transferred.
> Handling this usually involves a state machine.
>
> PPS: one of the more common errors here with TCP and such is assuming a 1-to-1
> mapping of writes to reads. TCP and QUIC don't (necessarily) work that way. One
> big write can become many smaller reads, for instance.
>
> PPPS: Depending on the platform, QUIC can have a specific API:
> https://developer.apple.com/documentation/network/quic_options — with that, QUIC
> can be switched to datagram, for instance. And AFAIK, OpenVMS TCP/IP Services
> has UDP, TCP, and SCTP, but lacks QUIC.
>
> PPPPS: having a framework that deals with this makes this whole area far easier
> to deal with, and with fewer mistakes, and with fewer problems with encryption
> or authentication.
>

Well, yeah, but I learned communications over a serial line ...

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<tfr98d$2n5m9$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24797&group=comp.os.vms#24797

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 21:03:07 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tfr98d$2n5m9$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 01:03:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4868a5bc189c16b0febc636c21b76929";
logging-data="2856649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+p9b50K1e8+eBNLMYYNniv5z5E8Xz1wRk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:djlIa66sUmbzAYMDRX2Gi0cM80o=
In-Reply-To: <63212194$0$698$14726298@news.sunsite.dk>
 by: Dave Froble - Wed, 14 Sep 2022 01:03 UTC

On 9/13/2022 8:34 PM, Arne Vajhøj wrote:
> On 9/13/2022 8:52 AM, Craig A. Berry wrote:
>>
>> On 9/13/22 2:39 AM, Single Stage to Orbit wrote:
>>> On Mon, 2022-09-12 at 23:23 -0400, Dave Froble wrote:
>>>> Why no mention of mailboxs ?
>>>
>>> I did wonder about that, too.
>>
>> My first thought was why no ICC. And then I actually looked at the
>> page, which says:
>>
>> Some ways of process communication are not covered (yet) including:
>>
>> mailboxes
>> sys$icc_* system services
>
> They will hopefully both show up. But they did not make
> it for version 1.0.
>
> I do not have any experience wth sys$icc_* so that will
> need a little research.
>
> I have actually started on mailboxes, I encountered some
> problems with what I want to do, so it got postponed.
>
> Arne
>

Ask your questions.

Do you want some examples?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS process communication

<63212af9$0$704$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24798&group=comp.os.vms#24798

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 13 Sep 2022 21:14:32 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: VMS process communication
Content-Language: en-US
Newsgroups: comp.os.vms
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me> <2W1UK.25672$1Ly7.24696@fx34.iad>
<63212274$0$698$14726298@news.sunsite.dk> <tfr8s6$2n4ri$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <tfr8s6$2n4ri$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 31
Message-ID: <63212af9$0$704$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 046dac07.news.sunsite.dk
X-Trace: 1663118073 news.sunsite.dk 704 arne@vajhoej.dk/68.9.63.232:55614
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 14 Sep 2022 01:14 UTC

On 9/13/2022 8:56 PM, Dave Froble wrote:
> On 9/13/2022 8:38 PM, Arne Vajhøj wrote:
>> On 9/13/2022 12:08 PM, Lee Gleason wrote:
>>> On 9/12/2022 10:23 PM, Dave Froble wrote:
>>>> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>>>>> I did a little writeup:
>>>>>
>>>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>
>>>> Why no mention of mailboxs ?
>>>
>>>    And event flags and locks?
>>
>> To me those are synchronization techniques not communication
>> techniques - or at least not general communication techniques.
>
> As Rob pointed out, one can do a lot with the DLM.
>
> Isn't synchronization itself a form of communication?

Yes.

But not what I would call general communication.

It is not intended to send arbitrary messages - it is
intended to synchronize flows.

Arne

Re: VMS process communication

<tfr9tu$2n7qe$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=24799&group=comp.os.vms#24799

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 13 Sep 2022 21:14:38 -0400
Organization: HoffmanLabs LLC
Lines: 35
Message-ID: <tfr9tu$2n7qe$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <ba35040b-67b7-4a37-925c-76937d77a3dfn@googlegroups.com> <tfqg11$2krgs$1@dont-email.me> <970d214e-90c3-4c98-8251-636e59fea842n@googlegroups.com> <tfqqvu$2m0fi$1@dont-email.me> <tfr0ha$2mhhp$1@dont-email.me> <tfr92f$2n5m9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="63c98848702a559a7b04d6ea636e096d";
logging-data="2858830"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KOkVw/aVMR+GV7w5xCmjgGILeEGTKGQc="
User-Agent: Unison/2.2
Cancel-Lock: sha1:Tml5uFK/12e8rmkb93af7YnE7iA=
 by: Stephen Hoffman - Wed, 14 Sep 2022 01:14 UTC

On 2022-09-14 00:59:57 +0000, Dave Froble said:

> Well, yeah, but I learned communications over a serial line ...

I did, too.

With home-grown protocols.

With X/Y/ZMODEM.

With a whole lot of serial wiring hand-soldered together, or later with
pin-insertion, and checked with a breakout box.

With loading code from audio tape cassettes, and I'm not referring to DDS here.

And variously with busted UARTs, or with PIO activity that saturated
the processor, or other such.

With a side-trip through SCADA and PLCs, too many of the now-older PLCs
and controllers having completely demented serial protocols.

Times change.

The newer Ethernet pass-through connectors and crimping tools are
better and faster than non-passthrough crimping, and all vastly faster
and more reliable than drilling 10BASE5 taps.

We're all slinging a whole lot more data than we did back then, too.

And with vastly better tooling and apps and networking protocols available.

--
Pure Personal Opinion | HoffmanLabs LLC

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor