sockpp
Modern C++ socket library wrapper
|
Classes for TCP & UDP socket. More...
Go to the source code of this file.
Classes | |
class | sockpp::socket |
Base class for socket objects. More... | |
class | sockpp::socket_initializer |
RAII class to initialize and then shut down the library. More... | |
Typedefs | |
typedef int | sockpp::socket_t |
The OS socket handle. | |
Functions | |
timeval | sockpp::to_timeval (const std::chrono::microseconds &dur) |
template<class Rep , class Period > | |
timeval | sockpp::to_timeval (const std::chrono::duration< Rep, Period > &dur) |
Variables | |
const socket_t | sockpp::INVALID_SOCKET = -1 |
Invalid socket descriptor. | |
Classes for TCP & UDP socket.