• 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: CFSocket completeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >CFSocket completeness (From: Eric Lengyel <email@hidden>)

  • Prev by Date: Re: UDP broadcast address
  • Next by Date: OTSndUData - problem on Mac OS 9
  • Previous by thread: CFSocket completeness
  • Next by thread: OTSndUData - problem on Mac OS 9
  • Index(es):
    • Date
    • Thread