문제

I want to make an application to send email and messages directly to other clients as a P2P service, using a web server to maintain a list of clients online with registration of the IP and Port sent by the NAT in which the client will read the list to connect directly to destiny client.

Is it possible to receive this information in an HTTP Web Server? How do I do it? Or may I use only an UDP server (UDP Hole Punch)?

Something like primordial Skype, but with web server.

도움이 되었습니까?

해결책

You cannot.

From the "outside" NAT acts as your only client and you only know its (NAT's) source IP and (not always) source port.

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