× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes, zero is a valid descriptor number.

Yes, each job (assuming you mean "job" as in a unit of work on i5/OS) should have a separate pool of descriptors. So every job on the system can have a "socket 0", and they won't conflict with one another.

Fisher, Don wrote:
Okay, time for a sockets newbie question.  I have multiple jobs
executing the same program.  This program uses the various sockets
a.p.i.s to establish a connect to a remote server.  I noticed that
the socket a.p.i. returned a 0 in two of the jobs.

It seems to me each job should have a different value returned from
socket, but I don't really know.  It seems like 0 is a valid value
since anything less than 0 is considered an error.

So I'm wondering whether anyone can confirm that 0 is a valid value
and whether different jobs should have different socket i.d.s.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.