开发者

Are there any websocket plugins for nodejs

Are there any websocket plugins开发者_运维技巧 for nodejs; I would like to develop some application that uses websockets.


Checkout Socket.IO - it's a widely used and powerful Node module for socket connections.


WebSocket-Node is a pure WebSocket implementation in node.js that supports the latest version of the WebSocket spec (version 8), and is still being actively maintained.

Otherwise Socket.io has broader browser support because it can fall back to things such as Flash Sockets, long lived iframes etc.


Like cmpolis mentioned, Socket.IO is excellent. Just upgraded to 0.8 too.

nowjs also provides a higher-level api if you like more abstraction.

Similar to nowjs, dnode allows you to call remote functions between the client and server and vice versa.

Here is a great SO answer delineating the differences between them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜