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..
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..
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.
Browser other questions tagged php html5 server
You are not signed in. Login or sign up in order to post.
Webrtc would not be the solution to this?
– Guilherme Bernal
@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...
– bfavaretto
@Guilhermebernal On the other hand... http://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-real
– bfavaretto
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.
– Guilherme Bernal