|
This problem seems to be solved: The problem was that I start a PC server job using RUNRMTCMD, and then immediately try to connect a socket to it. The PC job sometimes isn't ready for connecting right away, so if the first connect fails, I delay 1 second, and then try again. I was neglecting to use the close() API on the first failed connection, because I didn't realize that whenever you retrieve a socket ID, it gets marked as an open ID, whether you run a successful connect() against it or not. Thank you to everyone who made suggestions, and especially to Scott Klement who ran some great testing scenarios to help prove out the socket functions.
As an Amazon Associate we earn from qualifying purchases.
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.