• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _kCFStreamPropertyReadTimeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >_kCFStreamPropertyReadTimeout (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: _kCFStreamPropertyReadTimeout
  • Next by Date: Still interested in (NS)URLSessionStreamTask
  • Previous by thread: Re: _kCFStreamPropertyReadTimeout
  • Next by thread: Still interested in (NS)URLSessionStreamTask
  • Index(es):
    • Date
    • Thread