On 20 Jan 2017, at 19:09, Jens Alfke <[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to [email protected]
