diff options
Diffstat (limited to 'httpd.cpp')
-rw-r--r-- | httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ void HTTPConnection::start() { boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } -HTTPServer::HTTPServer(boost::asio::io_service& io_service) : acceptor_(io_service, tcp::endpoint(tcp::v4(), 8000)) { +HTTPServer::HTTPServer(boost::asio::io_service& io_service, const tcp::endpoint& endpoint) : acceptor_(io_service, endpoint) { start_accept(); } |