• 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: How to prevent a POSIX socket from using a cellular connection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent a POSIX socket from using a cellular connection?


  • Subject: Re: How to prevent a POSIX socket from using a cellular connection?
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Tue, 09 Dec 2014 10:01:54 +0000

On 8 Dec 2014, at 22:10, Jens Alfke <email@hidden> wrote:

> GCDAsyncSocket is a very large and complex class [that I didn't write] and I don't want to rewrite it :(

No one wants that.

Josh's point is that you can run the connect phase with a socket stream and then extract the file descriptor of the established connection from the socket stream and use that in the rest of your BSD Sockets code.

I wrote code to do that very thing recently.  It's a little too big to paste in here; I'll email you copy.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
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


References: 
 >How to prevent a POSIX socket from using a cellular connection? (From: Jens Alfke <email@hidden>)
 >Re: How to prevent a POSIX socket from using a cellular connection? (From: Josh Graessley <email@hidden>)
 >Re: How to prevent a POSIX socket from using a cellular connection? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to prevent a POSIX socket from using a cellular connection?
  • Previous by thread: Re: How to prevent a POSIX socket from using a cellular connection?
  • Index(es):
    • Date
    • Thread