Domanda

If I have a client application running on multiple internet connections (behind routers and such) who connect to a server. Lets say there are 5, and 3 of them are told about the existence of each other by the server, could those 3 connect to each other so that when one of them sends a message, the other two receive it, and all this would be done without the first server or the other two clients sending or receiving any information, just the 3 clients connected to each other? How could they get past the routers and firewalls? Hope that makes sense.

Edit

In a sense, create a small private network between the 3 clients that talk directly to each other, not via the server (unless absolutely necessary). perhaps via another client with sufficient bandwidth and if its open to connections

È stato utile?

Altri suggerimenti

Answer is: not always. There are cases where it is not possible for two peers located behind different NATs to communicate directly. They must go through a central peer with a public IP address.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top