Re: CFSocket completeness
Re: CFSocket completeness
- Subject: Re: CFSocket completeness
- From: Douglas Davidson <email@hidden>
- Date: Fri, 13 Feb 2004 12:56:38 -0800
On Feb 13, 2004, at 4:55 AM, Eric Lengyel wrote:
I've been converting some old OpenTransport code to CFSocket lately
(for a multiplayer game), and it seems that there are a few things
missing. I wanted to run it by you guys to see if I was missing
anything. I have three issues:
CFSocket is not and never has been intended as a complete wrapper
around BSD socket functionality. The intent of CFSocket is to provide
a means for BSD sockets to serve as run loop sources. A few common
socket operations are wrapped for convenience, but the intent is that
for the most part you will use the BSD socket APIs directly for
everything not related to run loops.
This is low-level functionality; there would be no particular
justification here for adding wrappers merely to mirror the underlying
API set. For a higher-level networking layer, built on top of CFSocket
but exposing rather different abstractions, see CFStream/CFNetwork.
Douglas Davidson
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.