|
Sorry, I think I worded that statement inaccurate! - I know that a socket can be passed from one job to another (using the givedescriptor() and takedescriptor() APIs), but is it possible for two separate jobs simultaneously to read from and write to the same socket, respectively?
Hmmm... now you're making me question myself.I thought it was possible to have the spawn() API create a new job and pass a socket descriptor to it. Then, the original job could recv() from that descriptor, and the spawned job could send() to that descriptor...
For an existing job, I thought it was possible to use sendmsg() and recvmsg() to accomplish the same thing.
Am I wrong?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.