I came across this comparison of the two options some time ago:
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzab6/cdescriptors.htm

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Niels Liisberg
Sent: 5. marts 2021 13:19
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Passing sockets with "givedescriptor()" (across user profiles)

I did use this in the past:

givedescriptor(pHttp->pSsl->fd , JobDs.Internal_Job_Identifier);

Somewhere else in this thread says it is a bad idea.

Does anyone have an idea why it is such a bad idea?



On Thu, Mar 4, 2021 at 8:42 PM James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
wrote:

With no apparent way to make spawn/sendmsg/recvmsg work for creating
entirely separate child-server jobs under a specified user profile, at
least not without months of re-engineering the sign-on protocol for
the application, I found a few minutes to test my idea of having the
"verification-server" program run under owner authority.

And it actually works!

At least under V6. Of course, that's no guarantee that somebody trying
to make life as difficult as possible for those still using
givedescriptor/takedescriptor hasn't deliberately broken this in V7,
but at least I have proof-of-concept.

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinf
o/midrange-l__;!!L0kaqaU-LQ!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdga
Fw29EVMmWWt4-fycylr7H_1ScOzK0$ or email:
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/midrange-l__;!!L0kaqaU-LQ!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdgaFw29EVMmWWt4-fycylr7H_APrzcro$ .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!L0kaqaU-LQ
!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdgaFw29EVMmWWt4-fycylr7H_9IfZR
Z8$

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/midrange-l__;!!L0kaqaU-LQ!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdgaFw29EVMmWWt4-fycylr7H_1ScOzK0$
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.com/v3/__https://archive.midrange.com/midrange-l__;!!L0kaqaU-LQ!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdgaFw29EVMmWWt4-fycylr7H_APrzcro$ .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.com/v3/__https://amazon.midrange.com__;!!L0kaqaU-LQ!I8UzqD993sGTtLqcMd2TlSXmB1ymLuFsfZB6cOUdgaFw29EVMmWWt4-fycylr7H_9IfZRZ8$

This email message (including all attachments) is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information, or may otherwise be protected by work product or other legal rules. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Unless otherwise indicated in the body of this email, nothing in this communication is intended to operate as an electronic signature and this transmission cannot be used to form, document, or authenticate a contract. Awaze and/or its affiliates may monitor all incoming and outgoing email communications, including the content of emails and attachments, for security, legal compliance, training, quality assurance and other purposes.

The sender believes that this email and any attachments were free of any virus, worm, Trojan horse, malicious code and/or other contaminants when sent. Email transmissions cannot be guaranteed to be secure or error-free, so this message and its attachments could have been infected, corrupted or made incomplete during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for any viruses or other defects that may arise, and for taking remedial action relating to such viruses and other defects. Neither Awaze nor any of its affiliated entities is liable for any loss or damage arising in any way from, or for errors or omissions in the contents of, this message or its attachments.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.