有人做过UDP nat穿透的没,用QT实现?
-
有人做过UDP nat穿透的没,用QT实现,从一个局域网到两外一个局域网,我按照原理写,两个局域网中的电脑向一个公网IP发送请求,公网记住两个内网机子的外网IP和端口,然后一个像两外一个发请求,然后一个在想另外一个发请求,可以没实现?
-
I don't understand you, but QT is not Qt.
-
有人知道不为啥不???
-
IMHO, QT - may be Quality Time, QuickTime or other, but Qt - software framework. "Wikipedia":http://en.wikipedia.org/wiki/QT
-
my server has gotten clientA and clientB's LAN's ip and port ,now clientA send a message to clientB , server tell clientB to connecte clientA. clientB is start to connecte clientA, but both are not get message from each other.
-
bq. clientB to connecte clientA
UDP are can not establish connection, only send and receive messages. Maybe I did not understood you correctly
And are you can show problem code? -
[quote author="Ildar" date="1410842897"]bq. clientB to connecte clientA
UDP are can not establish connection, only send and receive messages. Maybe I did not understood you correctly
And are you can show problem code?[/quote]you can download my code form this address.