Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] Windows native type for ASIO serial port?
From: Christoph Gysin (christoph.gysin_at_[hidden])
Date: 2009-03-30 10:27:20


2009/3/30 Jeff Diewald <diewald_at_[hidden]>:
> 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_at_fr33z3

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net