• 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: Which API should I use for sockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which API should I use for sockets


  • Subject: Re: Which API should I use for sockets
  • From: Doug Brown <email@hidden>
  • Date: Sat, 14 Jun 2003 10:36:50 -0700

Hi,

Just curious, but where does CFStream fit into all of this? What would be the advantages to using CFSocket instead of CFStream, and vice-versa? I've been looking at a few sample code snippets that use CFStream rather than CFSocket for making sockets and sending/receiving data, and I'm just curious what the difference is, and who/what each one is tailored to.

Thanks,

Doug

On Friday, June 13, 2003, at 12:34 PM, Becky Willrich wrote:

Take a look at /Developer/Examples/Networking/Echo and /Developer/Examples/Networking/Echo Client. These use a combination of CFSocket and CFSocketStreams (which just provide a stream API over the top of CFSocket).
_______________________________________________
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.

  • Follow-Ups:
    • Re: Which API should I use for sockets
      • From: Becky Willrich <email@hidden>
References: 
 >Re: Which API should I use for sockets (From: Becky Willrich <email@hidden>)

  • Prev by Date: Re: Which API should I use for sockets
  • Next by Date: Re: NKE.pdf
  • Previous by thread: Re: Which API should I use for sockets
  • Next by thread: Re: Which API should I use for sockets
  • Index(es):
    • Date
    • Thread