TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Square Releases Open Source WebSocket Client for Objective-C

175 点作者 mikelikespie超过 13 年前

8 条评论

tlrobinson超过 13 年前
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 未加载
adamjernst超过 13 年前
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.
saurik超过 13 年前
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 未加载
dirtae超过 13 年前
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 未加载
chriseidhof超过 13 年前
You guys are constantly pushing out cool stuff, just started using KIF and I really like it. Thanks for open sourcing guys!
listrophy超过 13 年前
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 未加载
searching超过 13 年前
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 未加载
llz超过 13 年前
Does this get around the shitty reverse-proxies mobile providers set up that kill websocket connections?
评论 #3567792 未加载