문제

I have a server on Internet that can send and receive datagrams.

What should I do on the client side in order to punch a hole so that I can receive datagrams from the server?

도움이 되었습니까?

해결책

you have to design your client in following way
1. Client Should be able to connect to Server and request the IP and Port of other client.
2. Once each client gets Ip port of each other should start onnection with each other. folow the article in the given link. http://www.brynosaurus.com/pub/net/p2pnat/

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