The IOSocket class is an abstract base class to represent various types of network sockets.
static IOSocket & getDummyTCPSocket()
Return a non-usable "dummy" TCP socket for testing.
virtual ~IOSocket()
The destructor.
static IOSocket & getDummyUDPSocket()
Return a non-usable "dummy" UDP socket for testing.
IOSocket()
The default constructor.
boost::asio::socket_base::reuse_address ReuseAddress
Represents SO_REUSEADDR socket option.
virtual int getProtocol() const =0
Return the transport protocol of the socket.
virtual int getNative() const =0
Return the "native" representation of the socket.
A wrapper interface for the ASIO library.
Defines the logger used by the top-level component of kea-lfc.