From b7ae9e12637d4cc681b3c9007c733de862494b0d Mon Sep 17 00:00:00 2001 From: Ole Daniel Evensen Date: Mon, 8 Nov 2010 12:44:26 +0100 Subject: Added docstring on TCPServer::handle_connection(). --- server/tcpserver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/tcpserver.cpp') diff --git a/server/tcpserver.cpp b/server/tcpserver.cpp index 2977b0f..8f345de 100644 --- a/server/tcpserver.cpp +++ b/server/tcpserver.cpp @@ -16,6 +16,8 @@ void TCPServer::listen() { boost::bind(&TCPServer::handle_connection, this, new_connection, boost::asio::placeholders::error)); } + +//! Incoming connection, handle void TCPServer::handle_connection(Connection::p connection, const boost::system::error_code& error) { if(error) { return; @@ -30,4 +32,4 @@ void TCPServer::handle_connection(Connection::p connection, const boost::system: // Start listening for another connection attempt. listen(); -} \ No newline at end of file +} -- cgit v1.2.3