Home > Back-end >  C language via a serial port to send and receive data between two computers
C language via a serial port to send and receive data between two computers

Time:12-25

Don't know their right, so want to see you

CodePudding user response:

A serial port, it is necessary to set the baud rate, ports, data bits, parity, etc., must be consistent,
If it is a Linux system, then there is the open - read - write, very convenient,

Windows don't know, such as supplement, downstairs,

CodePudding user response:

Why use a serial port? Transfer rate is very low, the socket is more convenient

CodePudding user response:

Although various error code,
The correct code can also be the appearance of ten states,

So, walk yourself's road, let bits fly for a while,
  • Related