On 8 Dec 2014, at 22:10, Jens Alfke <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to