well, thanks
I thought that there is a some property I can set
thanks
On May 28, 2005, at 6:12 AM, Frederick Cheung wrote:
On 28 May 2005, at 06:55, Dmitry Markman wrote:
Hi
how I can set timeout for CFReadStreamRef:
I'd like to make http request with timeout
thanks
(I found that there are some internal constants like
_kCFStreamPropertyReadTimeout
but I have no idea how I can use it)
The easiest way for this to use your read stream asynchronously and
have also have a timer in the run loop. When the timer fires you
know that your timeout period has expired and you can close the
stream. I believe there may be an example of this in one of the
CFNetwork samples.
Fred
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden