|
cppnet
C++ network utilities for asynchronous servers.
|
A socketpair interrupt source. More...
#include <net/timers/interrupt.hpp>
Public Types | |
| using | socket_type = io::socket::native_socket_type |
| The native socket type. | |
Public Member Functions | |
| auto | interrupt () const noexcept -> void |
| The interrupt method. | |
Public Attributes | |
| std::array< socket_type, 2 > | sockets {INVALID_SOCKET, INVALID_SOCKET} |
| The socket pair. | |
Static Public Attributes | |
| static constexpr auto | INVALID_SOCKET = io::socket::INVALID_SOCKET |
| The invalid socket constant. | |
A socketpair interrupt source.
|
inlinenoexcept |
The interrupt method.
This method is needed to comply with the InterruptSource concept.