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



I haven't written socket stuff myself, but I work with one of our products that does use sockets. There is a non-blocking option there that is used to set a timeout on a connection attempt, which returns some kind of status or error when it exceeds the timeout.

I just did a google on "set socket non-blocking" and found lots of information on it.

HTH
Vern

On 2/7/2011 5:53 AM, Boman, James wrote:
Does anyone have an example of setting the timeout value for the RECV command? I am using CONNECT to access a device from the i and a series of sends and receives to download data to the device. I want to set the timeout value on the RECV to only a few seconds so I can control the process in a more timely fashion.

Thanks,

James



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.