Answer the question
In order to leave comments, you need to log in
How to implement a browser-to-browser socket connection?
It's simple (but complicated): do you need to implement a browser-to-browser socket connection?
If so, how?
Thank you.
Answer the question
In order to leave comments, you need to log in
Through an intermediate service, if there is no external ip ...
Although with an external one, by default, there are no rights to listen to the port.
On a local network, for example, if both computers are connected to the same router, you can do it without problems at all, and without setting anything up, but one of the browsers must be a TCP server (or WebSockets server), it's easier "application-application" or "application- browser".
In a typical browser, there is no way to create a socket server, only an intermediate service. You can use p2p, but this is only in tor and analogues
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question