...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Typedef for the typical usage of a stream-oriented handle.
typedef basic_stream_handle stream_handle;
Name |
Description |
---|---|
Rebinds the handle type to another executor. |
|
The type of the executor associated with the object. |
|
An overlapped_handle is always the lowest layer. |
|
The native representation of a handle. |
Name |
Description |
---|---|
Assign an existing native handle to the handle. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
basic_stream_handle [constructor] |
Construct a stream handle without opening it. |
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the executor associated with the object. |
|
Determine whether the handle is open. |
|
Get a reference to the lowest layer. |
|
Get the native handle representation. |
|
Move-assign a stream handle from another. |
|
Read some data from the handle. |
|
Release ownership of the underlying native handle. |
|
Write some data to the handle. |
The windows::basic_stream_handle
class provides
asynchronous and blocking stream-oriented handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/windows/stream_handle.hpp
Convenience header: boost/asio.hpp