TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Square Releases Open Source WebSocket Client for Objective-C

175 pointsby mikelikespieover 13 years ago

8 comments

tlrobinsonover 13 years ago
Is there any reason to use WebSockets on native apps other than if you want to share one server between native and web?
评论 #3563660 未加载
评论 #3563677 未加载
adamjernstover 13 years ago
Thank god. I have worked extensively with cocoa-websocket and socketio-cocoa and they are a complete mess.<p>Square has done a lot for iOS open source, with their unit test framework and other libraries and now this.
saurikover 13 years ago
So, following up on the link in another comment on this article [1] to socket.IO-objc [2], one goes through a few forks of cocoa-websocket [3,4,5] to arrive at zimt [6].<p>Are there reasons to use SocketRocket over these other libraries (either socket.IO-objc, or the various forked lineage of cocoa-websocket/zimt)?<p>(Also, to ask the question I always have to ask: is there a reason for a new library rather than contributing to one of the existing ones, possibly even helping Unitt support RFC6455?)<p>[1] <a href="http://news.ycombinator.com/item?id=3563527" rel="nofollow">http://news.ycombinator.com/item?id=3563527</a> [2] <a href="https://github.com/pkyeck/socket.IO-objc" rel="nofollow">https://github.com/pkyeck/socket.IO-objc</a> [3] <a href="https://github.com/samlown/cocoa-websocket" rel="nofollow">https://github.com/samlown/cocoa-websocket</a> [4] <a href="https://github.com/adamjernst/cocoa-websocket" rel="nofollow">https://github.com/adamjernst/cocoa-websocket</a> [5] <a href="https://github.com/erichocean/cocoa-websocket" rel="nofollow">https://github.com/erichocean/cocoa-websocket</a> [6] <a href="https://github.com/esad/zimt" rel="nofollow">https://github.com/esad/zimt</a>
评论 #3563739 未加载
dirtaeover 13 years ago
We are currently using UnittWebSocketClient in our iOS app to communicate with a Tornado server:<p><a href="http://code.google.com/p/unitt/wiki/UnittWebSocketClient" rel="nofollow">http://code.google.com/p/unitt/wiki/UnittWebSocketClient</a><p>It has worked well so far, but I'm glad to see more activity in this area.
评论 #3563528 未加载
chriseidhofover 13 years ago
You guys are constantly pushing out cool stuff, just started using KIF and I really like it. Thanks for open sourcing guys!
listrophyover 13 years ago
Great to see this... I've been using libPusher, but it's specific to the Pusher service (which is actually pretty great).<p>Perhaps libPusher can just start using SocketRocket as a dependency and wrap it in Pusher-specific goodness...
评论 #3563199 未加载
searchingover 13 years ago
If I'm using Socket.IO via an Obj-C lib, is there a point to taking a look at this? Should the Socket.IO community look at integrating this as the engine behind the client on Obj-C, or is there little/no benefit?
评论 #3563181 未加载
llzover 13 years ago
Does this get around the shitty reverse-proxies mobile providers set up that kill websocket connections?
评论 #3567792 未加载