Program Description:
1. The program uses the method introduced online to realize the most basic P2P communication. It simulates the mutual sending of instant messages.
2.P2P communication description:
1). The gateway type is under ideal conditions, that is, asymmetric NAT.
2). When two clients on the same intranet communicate, if the gateway NAT does not support loopback, it will fail.
File directory description:
tQServer: Program server, please run it on the public network.
tQClient: Program client, which can run in different intranets to log in and connect to the server.
Common: Public protocol folder. This program only implements simple P2P mutual messaging. The completion is relatively rough. Friends are welcome to update and improve more functions.
Author:
[email protected] QQ:24584062