Re: _kCFStreamPropertyReadTimeout
Re: _kCFStreamPropertyReadTimeout
- Subject: Re: _kCFStreamPropertyReadTimeout
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 23 Jan 2017 08:37:15 +0000
On 20 Jan 2017, at 19:09, Jens Alfke <email@hidden> wrote:
> We need to implement a timeout for some (Mac/iOS) code that reads from a socket via a CFReadStream
Are you using CFSocketStream is sync/blocking mode? That’s supported, but quite unusual (most folks use CFSocketStream async via the NSStream delegate mechanism or the CFStream client callback).
This matters because, for example, `SO_RCVTIMEO` is only relevant in blocking mode.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden