|
see page 67 for the link below for how to turn on the non-blocking. http://publib.boulder.ibm.com/html/as400/v5r1/ic2994/info/rzab6/rzab6mst.pdf -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of EDoxtator Have I created a non-blocking socket? I don't know. In a separate procedure, I created a socket using: // Create a socket socketID = socket( cAF_INET: cSOCK_STREAM: cIPPROTO_IP ); And I'm setting the socket options as follows: // Set socket address attributes sin_family = cAF_INET; sin_addr = IP; // IP address determined earlier in this proc sin_port = sPort; // Port number determined earlier in this proc sin_zero = *ALLx'00';
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.