Home > other >  Nets brake programming
Nets brake programming

Time:10-02

Combined with the reading of my related one-way information nets brake, seems to brake the network transmission programming, the best choice is to:
Premise: network gateway has complete configuration
Implementation:
1, outside network, select a Server development deployed a UDP Server implementation;
2, trying to develop the UDP client program, every time will need to transfer data into their own binary content of the agreement, and broadcast it to the network gateway configuration specified UDP address and port (the address and port has brake by network administrators configure mapping to the UDP Server resides in step 1 address and listen on port); Such as broadcast success, is the message from own cache to delete, such as failure, 1-3 seconds to retry pause;
3, UDP Server receives the binary content, on its own in accordance with the contract format, complete relevant processing;

The main logic is correct? Are there any supplementary note points? Thank you for your reply
  • Related