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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Web Sockets Now Available In Google Chrome

119 点作者 gps408超过 15 年前

11 条评论

izend超过 15 年前
I can abandon Flash sockets if this becomes mainstream.
cracki超过 15 年前
<p><pre><code> ws.onclose = function() { // websocket is closed. }; </code></pre> someone reformatted the code without checking...
spazmaster超过 15 年前
Great, with Apple, Mozilla and now Google innovating in the browser sphere, it looks like browser will be evolving at a much more rapid pace.<p>Gah, let's hope Microsoft gets some vision for IE too. (or ditch it like Bing ditched Live)
评论 #986653 未加载
评论 #986789 未加载
joblessjunkie超过 15 年前
Are there any examples of web sockets live right now? I'd like to see it in action...
rbranson超过 15 年前
As the saying goes: "that's awesome, if only it worked on IE6..."
评论 #986735 未加载
评论 #986807 未加载
评论 #987225 未加载
laktek超过 15 年前
I've implemented a Ruby version of WebSocket server (which is based on EventMachine and yet very experimental) - <a href="http://github.com/laktek/Web-Socket-Examples" rel="nofollow">http://github.com/laktek/Web-Socket-Examples</a>
评论 #987325 未加载
k7d超过 15 年前
The main challenge with bidirectional browser communication is really in the backend. It does not scale nearly as easy as easy as RESTful HTTP requests.<p>I'm sure Google has developed some serious technology to address this while building Wave. Wondering if some of it come to Google AppEngine anytime soon?
est超过 15 年前
&#62; The protocol is not raw TCP because it needs to provide the browser's "same-origin" security model. It's also not HTTP because web socket traffic differers from HTTP's request-response model.<p>If Websocket has something like crossdomain.xml does that mean we can build p2p applications on that?
评论 #987409 未加载
bumblebird超过 15 年前
Does the WebSocket spec allow for gzip/deflating streams as well? I can't see anywhere if it does or not.
评论 #986765 未加载
oomkiller超过 15 年前
I'd like to see an Erlang implementation of a WebSocket server, anyone know if this has been attempted?
评论 #987491 未加载
daleharvey超过 15 年前
google confuse me<p>how was this implemented before local storage? every current version of browsers supports it apart from chrome (and opera?)<p>saying that it is pretty awesome, web sockets have been a long time coming