(In the traditional Client-Server mode, the clients of Socket network communication cannot communicate directly, and it is not suitable for the use of direct communication between hosts. The improved Client-Server mode realizes the direct peer-to-peer Socket network communication of each host, and adopts the method of checking first and then connecting, which manages the problem of long connection time when the communication partner is not turned on.)