|
What's wrong with non-blocking sockets & calling select()? It's the way things were designed to work from the beginning. It's simple. It's dramatically more powerful/flexible than setting SO_RCVTIMEO. So... I don't understand all of the searching the web for things, and looking for alternatives? On Mon, 4 Mar 2002, Rich Duzenbury wrote: > > Indicates that the SO_RCVTIMEO socket option can be set on some operating > systems, and if set before connect, it will influence the maximum amount of > time the connect request can take, as well as how long recv will wait. > > But the bummer is: I pulled out my trusty OS/400 Sockets Programming V3R7 > manual and it indicates that neither SO_RCVTIMEO, nor SO_SNDTIMEO socket > options are supported. I also checked the iSeries info center for V5R1, > and both options are still listed as unsupported. > > So, it looks like you will still have to 'roll your own'. >
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.