Home > Software engineering >  About the socket programming need written agreement
About the socket programming need written agreement

Time:12-23

Write the client program and server program. Requires server-side program click on the button, after the client executes instructions.
My current idea is to press a button, sends a data, and then receives the different data, perform different command. Wanted to use the IF.
Make up a deal. But the teacher said he wrote in the program, such as sending AA, was shut down, send BB, will lock screen..
But want to know how to do it, written agreement is? Can an article or demo for your reference is the best. Thank you

CodePudding user response:

Winsock TCP
select

CodePudding user response:

Protocol:
1, command format
2, integrity, self checking (if involved in network transmission, also need to consider credible checking)
3, execute the command
  • Related