A
A
Abc Edc2015-02-07 10:04:13
Node.js
Abc Edc, 2015-02-07 10:04:13

In conjunction with which bible / socket plugin on node is it better to use phonegap?

and what about socket.io? it will be just as good on the client as on the server in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Shemsedinov, 2015-02-07
@gleber1

On the server https://www.npmjs.com/package/websocket and on the client

var ws = new WebSocket('ws://echo.websocket.org/');
ws.send('Hello');
ws.onopen = function(event) { ... };
ws.onclose = function(event) { ... };
ws.onmessage = function(event) { ... };
ws.onerror = function(event) { ... };

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question