I use the Internet to download a network gobang procedures "vc + + network gobang game server and client implementation", based on a network game class program, server is ali cloud server, now single landing two client or two computers in a LAN in a client, the two clients can normal connection, communication and game, but two different public (please friends help remote testing) in the computer, telecom broadband login or desktop notebook 4 g hotspot of landing on cell phones, two client cannot normal connection, called "client connection failure",
The causes of this situation is likely to be? How to solve? How to modify the code?
CodePudding user response:
Vc + + network gobang game server and client implementations, download links: http://www.newxing.com/Code/VC/Network/4094.htmlStand-alone landed two client test results:
CodePudding user response:
Telecom broadband login desktop and laptop computers use cell phone 4 g hotspot, double-click the right user name on the list, invited him to play chess, to connect the client fails,Two clients can connect to the server:
But the two client cannot establish a connection:
CodePudding user response:
Added a moment, I go programs with another network, using a desktop telecom broadband login, laptop mobile phone 4 g hotspot, two client can normal connection, communication and game,