On 14 Jul 2015, at 00:11, dangerwillrobinsondan...@gmail.com wrote: > In an ideal world Apple would have a public WebSocket client and server API...
Indeed. While I've seen this request before many times, but I still encourage you to file your enhancement request for this stuff. <https://developer.apple.com/bug-reporting/> Please post your bug number, just for the record. One thing to note is that the current beta OSes have NSURLSessionStreamTask, and you can convert a data task into a stream task via the NSURLSessionResponseBecomeStream (and from there capture the streams from the stream task to get an NS{Input,Output}Stream pair). I /think/ that allows you to implement WebSockets very easily, although I must admit that I haven't tested this stuff myself yet. 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 (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to arch...@mail-archive.com