wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.13k stars 1.04k forks source link

windows pipe serial problem #157

Open smirkcat opened 7 years ago

smirkcat commented 7 years ago

hello:

THROW (IOException, "Error getting the serial port state."); I think that should be replaced by return like this

if (!GetCommState(fd_, &dcbSerialParams)) { return; }

this idea form putty

in winser.c the line of 101

Otherwise it can not work

the port like this \\.\pipe\com_1 ,the vmware created