• 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: Does CFSocket use efficient polling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does CFSocket use efficient polling?


  • Subject: Re: Does CFSocket use efficient polling?
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 12 Feb 2009 12:25:40 -0700
  • Thread-topic: Does CFSocket use efficient polling?

> This is unlikely to be the right
> solution for any other apps, especially an app with UI.

I don't know about that. I can imagine many apps where the optimal solution
might be to read from the stream until an entire message is received,
decompress the message, unmarshall arguments, all in the background thread
before finally sending the complete message through to the run loop.

I know of at least one GUI application that works this way ;-)

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
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

  • Follow-Ups:
    • Re: Does CFSocket use efficient polling?
      • From: Josh Graessley <email@hidden>
References: 
 >Re: Does CFSocket use efficient polling? (From: Josh Graessley <email@hidden>)

  • Prev by Date: Re: FD_SETSIZE > 1024 and select() break on intel ?
  • Next by Date: Re: Does CFSocket use efficient polling?
  • Previous by thread: Re: Does CFSocket use efficient polling?
  • Next by thread: Re: Does CFSocket use efficient polling?
  • Index(es):
    • Date
    • Thread