Re: How to prevent a POSIX socket from using a cellular connection?
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