Home > Back-end >  Under Windows when a serial port disconnect call ClearCommError and recv respectively is what effect
Under Windows when a serial port disconnect call ClearCommError and recv respectively is what effect

Time:10-23

Under Windows when a serial port is disconnected, please call ClearCommError and recv respectively is what effect?
Parameters and return values will become what? Call GetLastError can get to the wrong information again?
By the way if disconnected, the data in the input buffer is normal? With the ClearCommError has a inside how much data at not to come out?

Don't have the equipment can't try, only recourse under the bosses
  • Related