문제

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

도움이 되었습니까?

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top