S
S
Sergo Sergo2015-03-31 19:07:22
Node.js
Sergo Sergo, 2015-03-31 19:07:22

What's the best way to chat?

Hello, I need to write a chat on node.js, but I don’t know how best to implement it. Use socket.io or something else. It is planned to connect this chat on different pages, so we need more than one room. What is better to use for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Shemsedinov, 2015-03-31
@MarcusAurelius

I do not see the slightest point in socket.io if the level of websocket support in browsers is already sufficient: caniuse.com/#feat=websockets and the websocket API is quite simple and straightforward. And for the node, take the server library https://www.npmjs.com/package/websocket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question