Re: Does CFSocket use efficient polling?
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