Problem with serial port init

Arik BenDov arikbd@hotmail.com
Mon Feb 9 11:10:00 GMT 2004


Hi,

I have a strang proglem any help will be appriciated

I have s program sending data VIA serial port between 2 machines. The program 
works fine when both are Linux.
I use cygwin to port the program to windows (I run the program under Dos shell 
not Cygwin) and I have problem with the port setup part, the program cannot 
set the serial port parameters (speed, data bits etc).

When I disable the port setup part and use mode to set the port parameters the 
program works fine.

Does any one has code example (in C, C++) that does the work? I'm using 
termios tcsetattr.

Thanks.
Arik


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list