Atom-shell with socket.io to create peer to peer application


#1

Is it possible to use socket.io with atom-shell to create a peer-to-peer application?
I would like to create an application that can acts as both a socket.io server and client. One application can connects to another application.

Is this possible?


#2

IMHO, I would use node networking. It is much more straightforward.


#3

I suppose there is no reason why not, though. I’ve heard good things about socket.io. Why not simply try creating a connection with it and see if the traffic comes through?


#4

You probably want WebRTC instead. That lets you do peer-to-peer communication with other browsers.

You might need a server to punch through NAT routers.