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
_______________________________________________
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