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

Asked

Viewed 99 times

1

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

Yes, Sergio. No server.

  • 1

    When you say from one customer to another you mean "without a server to coordinate"?

1 answer

1

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

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.