• 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: NSInputStream / Eventqueue / run in Background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInputStream / Eventqueue / run in Background


  • Subject: Re: NSInputStream / Eventqueue / run in Background
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 21 Oct 2009 21:25:25 -0700


On Oct 21, 2009, at 12:22 AM, email@hidden wrote:

It's blocking while I'm transferring some data from an iPhone to the mac via
bonjour and press some button in the front...

Bonjour doesn't transfer data. It's only for discovering what services are available, not for connecting to them. It sounds as though you're using some other API to make a TCP connection, like CFSocket or NSStream, and are doing blocking I/O with it instead of waiting for notification of data. That's what you should fix instead.


—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSInputStream / Eventqueue / run in Background (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 6, Issue 1522
  • Next by Date: Core data design related question
  • Previous by thread: NSInputStream / Eventqueue / run in Background
  • Next by thread: info gc-roots interpretation
  • Index(es):
    • Date
    • Thread