Home > Net >  About c #, for help!!!!!!
About c #, for help!!!!!!

Time:09-18

Use UDP wrote A chat software, used on both sides, to achieve A to party B for party sends A message containing instructions, party B to judgment of string, to open A new window or shut down the purpose of the new window, have what good method

CodePudding user response:

Well, within the local area network (LAN) to use, to the network using a server to do less Nat

Single from the problems, the personal advice you passing the packet with json string directly, lest you also want to fold, in addition the udp may be packet loss, or lost order, pay attention to the processing

CodePudding user response:

I also want to know,,,,,,,,,,,,,,,,,,,,,,,,,,,,

CodePudding user response:

You need to settle an agreement, what is the content of the text message, what is the control command, and then parse processing respectively
  •  Tags:  
  • C#
  • Related