开发者

Websockets between 2 servers?

I wonder if it's possible to use websockets between 2 webservers instead of between a browser and backend?

Im ru开发者_如何转开发nning 2 node.js servers and want to exchange data between them.


Try to look at node2node-socket.io or Socket.io-node-client modules. However I would say that you should stick to built-in net module with pure sockets if you are communicating only between web servers.


Maybe this helps https://github.com/LearnBoost/Socket.IO-node/tree/master/support/node-websocket-client

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜