Re: _kCFStreamPropertyReadTimeout
On 20 Jan 2017, at 19:09, Jens Alfke <jens@mooseyard.com> 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 (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn "The Eskimo!"