websocket

Channels in Socket.io

Hi, I am trying to broadcast a message through the Node.js service socket.io (http://socket.io/) to certain subset of all subscribers. To be more exact, I would like to use channels that users can subscribe to, in order to efficiently push messages to a couple hundred people at the same time. I'm not really sure if addEvent('channel_nam...

How does the Firefox website make its download stats page work?

On the Mozilla website, there’s a page showing (apparently) live download statistics for Firefox: http://www.mozilla.com/en-US/firefox/stats/ How are they performing their request to get the live stats data? I can not see a constant connection in Firebug. How is this working? ...

Websocket vs Ajax vs cometd

I am about to use Ajax for a web dashboard w. real-time updates, planning on using Ajax but i hear websocket might be a good way to go. Websocket or Ajax? (cometd & jetty is also an option) ...

What popular webservers have support for HTML5 WebSocket?

I would like to experiment with HTML5 WebSockets, and I am looking for a mature webserver with support for websockets. Is there a list of webservers that support websockets per default? What popular webservers has support for websockets out of the box? The server programming language doesn't matter, I know Java, PHP, Erlang, Python and m...

Is there any framework that supports Websocket and falls back to other methods when it is not supported on client's browser?

I was doing AJAX implementation and would like to use Websocket when the client web browser supports it. Is there any frameworks that supports Websocket but falls-back to other methods when it detects the client side doesn't support Websocket. ...

LearnBoost's Socket.IO-Node why onClientMessage not work

Hi, all, I tried to put the module "LearnBoost's Socket.IO-Node", all works, except event 'onClientMessage' Tell, in what there can be a problem, thanks! ...sorry for my english io.listen(server, { onClientConnect: function(client){ client.send(json({ buffer: buffer })); client.broadcast(json({ announcement: client.sessionI...

[html5] Getting started with web sockets

Hi, I'm very interested in learning about the new feature in html5 called web sockets. I've looked into it and have come out with a few questions. It seems that before I can start implementing this new technology into a web application of mine I need to have a web server which supports it. Does this involve downloading something and in...

Using WebSockets in a C# Web Application?

I know its possible to use WebSockets within C# using a console application running along side the web application but Im wondering if its possible to use the requests on the C# web application to create the WebSockets. I've been looking through ASP.Net and Im starting to think it wont be possible unless I use straight up C# and create ...

full duplex communication over the web w/o flash sockets

A web application I'm helping to develop is faced with a well-known problem: we want to be able to let users know of various events and so forth that can occur at any time, essentially at random, and update their view accordingly. Essentially, we need to allow the server to push requests to individual clients, as opposed to the client as...

Handshaking in HTML 5

Hi, In Websockets, which is an exciting new concept of HTML 5, there is a specific feature - Handshaking between the WebSockets server and Client. Can anyone explain what this is used for?? Thank You!! ...

Web Sockets questions

Hi, I have a couple of questions concerning Web Sockets. The latest Firefox 4.0 nightlies support Web Sockets. So does Webkit (Chrome 4 + Safari 4/5). Internet Explorer 9 is supposed to feature Web Sockets at some point according to Microsoft (before the stable release). Anyway, my questions are: I am building a JavaScript admin int...

websockets and java servlet

Does anyone know if there is a good (where good is stable enough to use, and open-source) webSocket servlet implementation? The one that possibly complies with draft spec 76 (the latest one). ...

Implementing a WebSockets server: WebKit sends invalid UTF-8 Strings... sometimes

I'm trying to implement a WebSockets server in C and so far, everything seems to be fine. I tested my implementation on Mac OS X 10.6.4 using Safari Version 5.0 (6533.16) and Google Chrome 5.0.375.70. As they both use WebKit, they unsurprisingly both yield the same results: Handshake works and sending UTF-8 string from and to my server w...

Using WebSocket with Flash?

I found web-socket-js for running WebSocket in Flash. If I run WebSocket under Flash, can all browsers with Flash player installed support this? ...

websocket + node.js + fallbacks framework

What is the best framework to use for websockets + fallbacks. I actually only know about Socket.IO, what are some others. Thanks. ...

WebSocket Events Not Firing

I'm trying to create a simple WebSocket example using the HTML5/JS API. Based on what I trace out on the server, it seems like the socket is connecting, but none of the events fire (onopen, onmessage, onclose, etc). I'm a Flash developer so I'm not very good at debugging the JavaScript and I'm hoping someone can help me out. Here's the c...

Node.js, WebSocket Location Issue?

I created a server using Node listening on port 8000, localhost. Verified it's running properly, but I cannot access the WebSocket on the client (Chrome 5). Tried several implementations from various Git repos, node + websocket, socketIO, articles, etc. Nothing. No port conflicts (sudo lsof -i tcp); Tried server.listen(8000, "*"); Po...

Which is faster - WebSockets or Ajax?

I bet WebSockets are much faster. So if I want to use lots of ajax continuously, WebSockets are recommended as an alternative? ...

HTML5: Latest WebSockets

Has anyone read Hickson's May 2010 draft-hixie-thewebsocketprotocol-76 WebSocket protocol? Here is the the source of an .htm file: <html> <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <script type="text/javascript"> var socket = new WebSocket('ws://localhost:8181/websession'); socket.onopen = function() { ...

Is there a WebSocket client implemented for python?

I find this project: http://code.google.com/p/standalonewebsocketserver/ for a websocket server, but i need implement a client of websocket in python, more exactly i need receive some commands from xmpp in my websocket server ...