 |
Kea
1.5.0
|
The DummySocket class is a concrete derived class of IOSocket that is not associated with any real so...
The IOSocket class is an abstract base class to represent various types of network sockets.
Defines the logger used by the top-level component of kea-dhcp-ddns.
DummySocket(const int protocol)
Constructor from the protocol number.
static IOSocket & getDummyUDPSocket()
Return a non-usable "dummy" UDP socket for testing.
A wrapper interface for the ASIO library.
static IOSocket & getDummyTCPSocket()
Return a non-usable "dummy" TCP socket for testing.
virtual int getProtocol() const
Return the transport protocol of the socket.
virtual int getNative() const
A dummy derived method of IOSocket::getNative().