Is it possible to pass text (json) via client socket to client with javascript?

1

Send data via socket, from one client to another, only with javascript? Preferably, in pure js.

Yes, Sergio. Without the server.

    
asked by anonymous 05.10.2016 / 23:06

1 answer

1

It is not possible to pass client-to-client text only with javascript without a server acting as "bridge". What you could do to not have to deal with the server, is to use services such as: Pusher , where your job would basically be to integrate into your application using the API provided.

About Pusher: Up to 100 concurrent connections and 200,000 interactions (messages) still enter the free plan.

    
06.10.2016 / 03:43