Now need through the client sends a message to the server, and then the server to judge whether the information is correct, if correct returned to the client the correct information, if it is a mistake in return an error message, if the information is correct will need to send this information to the dinner on the serial port, and then a serial port on a he had received information back to the server, the server to send the information to the client,
This code is specific what to write, I write the code according to this logic, always can't realize the function,
Client I was using a network debugging assistant,
Network with communication TCP communications,
Open the serial port also need operation in this code,
Dear great god to write a piece of code, genuflect is begged
CodePudding user response:
Your SCM serial port tool to receive the data