
3 Apr
2009
3 Apr
'09
7:38 p.m.
Thanks. This is just what I needed to get to the serial port. I could set the Windows timeouts using the SetCommTimeouts mechanism, which worked just as I wanted. Jeff On Mar 30, 2009, at 10:27 AM, Christoph Gysin wrote:
2009/3/30 Jeff Diewald
: I have a boost::asio::serial_port object. What is the specific Windows type returned by native()?
See: /usr/include/boost/asio/detail/win_iocp_serial_port_service.hpp
On Windows asio talks to the serial port by opening the special file COM1. The native() call returns a HANDLE to that special file.
Chris -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3