Home > other >  Questions about UDP communication, my home computer (server) and the unit on the computer (client) c
Questions about UDP communication, my home computer (server) and the unit on the computer (client) c

Time:10-14

Questions about UDP communication, the UDP communication program I wrote on my home computer and unit computer can send and receive normal communication, specific server program is run on the computer in his home (home computer is luoyang jianxi district unicom broadband, dial-up Internet access, each IP dial-up distribution is different, such as a 115.50.115.212, subnet mask 255.255.255.255), can receive unit (at the dragon area) Intranet host data from the client, server parsed out client after the final routing IP and port number, can also be used to send data to the client, the client can also receive,

However, the problem is there of the client to the server in Shanghai unicom broadband host (home) of UDP packets receive less than, use network debugging assistant testing cannot receive,,
Supposedly unit and two computer at home is certainly not a computer in the network, now that can realize the UDP server and client communication (UDP packet is sent to the server first, client server parsed address and then send the data to the client), why Shanghai client over to my house unicom broadband host server program sends UDP packet is not received? In the province of fujian association of foreign languages and different?
I don't know what reason be? Great god answer please, be grateful!

CodePudding user response:

Whether the cause of the firewall

CodePudding user response:

reference 1st floor kxltsuperr response:
is the cause of the firewall


Should not, because I am in the unit of the host and the home of the server can normal communication

CodePudding user response:

Try changing communication port to 80, some ports will be screened by operators,
Also, is to confirm that Shanghai and your communication, have changed your IP?

CodePudding user response:

This may be a different client gateway to broadcast packets processing is different, some gateway do not forward broadcast packets (tech-oriented web radio), you can try a simple: made a P2P unicast UDP, this must be received, confirmation, then revise the gateway Settings (such as a router)

CodePudding user response:

The problem of network

CodePudding user response:

Answer everyone will surprise: there is the open TCP protocol version that changed the udp version of the program, ah,,,,,,,
Thank you for your support

CodePudding user response:

Can't stick, how to return a responsibility? Always prompt: score distribution does not accord with a score!
I got the four copies of each 25 points, 100 points, how does not conform to,
  • Related