#ifndef TELNETD_H #define TELNETD_H #include "telnet_connection.h" namespace telnet { class Server { public: Server(boost::asio::io_service& io_service, const tcp::endpoint& endpoint); private: void start_accept(); void handle_accept(Connection::p new_connection, const boost::system::error_code& error); tcp::acceptor acceptor_; }; }; #endif