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.

Web Sockets Now Available In Google Chrome

119 pointsby gps408over 15 years ago

11 comments

izendover 15 years ago
I can abandon Flash sockets if this becomes mainstream.
crackiover 15 years ago
<p><pre><code> ws.onclose = function() { // websocket is closed. }; </code></pre> someone reformatted the code without checking...
spazmasterover 15 years ago
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 未加载
joblessjunkieover 15 years ago
Are there any examples of web sockets live right now? I'd like to see it in action...
rbransonover 15 years ago
As the saying goes: "that's awesome, if only it worked on IE6..."
评论 #986735 未加载
评论 #986807 未加载
评论 #987225 未加载
laktekover 15 years ago
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 未加载
k7dover 15 years ago
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?
estover 15 years ago
&#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 未加载
bumblebirdover 15 years ago
Does the WebSocket spec allow for gzip/deflating streams as well? I can't see anywhere if it does or not.
评论 #986765 未加载
oomkillerover 15 years ago
I'd like to see an Erlang implementation of a WebSocket server, anyone know if this has been attempted?
评论 #987491 未加载
daleharveyover 15 years ago
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