× 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.



Nothing -- if done correctly.  I've seen numerous select() hogs written by
people who didn't have access to the information on this forum.  But the
question was whether or not there was a socket option.  As near as I can
tell, there is on some operating systems, but not on OS/400 because it
doesn't support SO_RCVTIMEO.

YMMV.

At 10:37 AM 3/5/02, you wrote:

>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'.
> >
>
>_______________________________________________
>This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
>To post a message email: RPG400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
>or email: RPG400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/rpg400-l.

Regards,
Rich



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.