Transmit information without going through the server

Asked

Viewed 134 times

4

The question is simple and fast, there is some way to send data without the need for them to pass through a server, for example to send data from a form that user A filled out to user B in real time..

1 answer

4


The simple and quick answer would be nay. At least not using a browser, without both users having a specific application for this purpose installed on their computers.

However, as the @Guilhermebernal commented below, there is the Webrtc, which is still in the specification stage and is not supported in all browsers. The API is all about real-time communication, but according to this tutorial it is still necessary to use servers before establishing the connection between browsers, so that one knows the existence of the other.

  • Webrtc would not be the solution to this?

  • @Guilhermebernal can be. Although it is still very raw and with little support. Now I no longer know if I edit or delete this reply...

  • @Guilhermebernal On the other hand... http://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-real

  • I’ve never used it in practice, I don’t think I can make a functional example. Probably relevant: http://stackoverflow.com/a/14926093/517503. But unfortunately, you need to have at least one server to start the connection. But depending on the scenario (at least a couple not behind a NAT) it is possible to make the messages themselves not go through the server.

Browser other questions tagged

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