3 ms·
Try Socket.IO: http://labs.rosepad.com/socket.io/ http://labs.rosepad.com/socket.io/
by Rauchg 17y ago
Try Socket.IO: http://labs.rosepad.com/socket.io/ http://labs.rosepad.com/socket.io/
- andr 17y agoIt's usually writing a good server that is the pain point here.
- Rauchg 17y agohttp://github.com/Rosepad/Socket.IO-node/ http://github.com/Rosepad/Socket.IO-node/ powered by Node.JS, check out the basic chat app in 10 LoC
- Rauchg 17y agoAlso, Socket.IO fallbacks to flash and other non-socket methods (htmlfile, xhr polling, xhr multipart, more to come), while conserving a WebSocket-like API. And you can implement any protocol you want on top of it (such as STOMP, Bayeux, XMPP).