Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_serial_port::open (1 of 2 overloads)

Open the serial port using the specified device name.

void open(
    const std::string & device);

This function opens the serial port for the specified device name.

Parameters

device

The platform-specific device name.

Exceptions

boost::system::system_error

Thrown on failure.


PrevUpHomeNext