 |
Kea
1.5.0
|
Go to the documentation of this file.
10 #ifndef BOOST_ASIO_HPP
11 #error "asio.hpp must be included before including this, see asiolink.h as to why"
19 #include <boost/shared_ptr.hpp>
20 #include <netinet/in.h>
59 template<
typename SocketCallback>
void asyncAcceptInternal(const SocketType &socket, const CallbackType &callback)
Asynchronously accept new connection.
The IOService class is a wrapper for the ASIO io_service class.
Provides a service for accepting new TCP connections.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void asyncAccept(const TCPSocket< SocketCallback > &socket, C &callback)
Asynchronously accept new connection.
virtual int getProtocol() const final
Returns protocol of the socket.
A wrapper interface for the ASIO library.
Base class for acceptor services in Kea.
TCPAcceptor(IOService &io_service)
Constructor.