How can I establish a direct data connection between two devices connected to the Internet? With all kinds of closed ports and dynamic IP.
I suspect that this can be done using the server. So that the clients open the socket to the server at startup, and if necessary the server would simply copy the data from one socket to another. But then the connection is not direct and most likely it will affect the speed of data transfer, and give the load to the server. And I would like the devices to register first on the server, and after that they already exchanged data directly. Is it possible