• 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: TCP sockets with Bonjour-discovered address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCP sockets with Bonjour-discovered address


  • Subject: Re: TCP sockets with Bonjour-discovered address
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 01 Jul 2014 15:47:55 -0700

Why are you using POSIX APIs to connect? It would be much easier with CFStream/NSStream. (The kind of problem you’re running into here is an example of why I avoid the POSIX APIs whenever possible.)

I think the appropriate function to call would be CFStreamCreatePairWithPeerSocketSignature.

—Jens
 _______________________________________________
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: TCP sockets with Bonjour-discovered address
      • From: Josh Graessley <email@hidden>
References: 
 >TCP sockets with Bonjour-discovered address (From: Carl Hoefs <email@hidden>)

  • Prev by Date: TCP sockets with Bonjour-discovered address
  • Next by Date: Re: TCP sockets with Bonjour-discovered address
  • Previous by thread: TCP sockets with Bonjour-discovered address
  • Next by thread: Re: TCP sockets with Bonjour-discovered address
  • Index(es):
    • Date
    • Thread