Provides stream-oriented handle functionality.
class stream_handle : public windows::overlapped_handle
Name |
Description |
---|---|
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. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the executor associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context 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. |
|
Construct a stream_handle without opening it. |
|
Write some data to the handle. |
The windows::stream_handle
class provides asynchronous and blocking stream-oriented handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/windows/stream_handle.hpp
Convenience header: asio.hpp