summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/tcpserver.cpp4
1 files changed, 3 insertions, 1 deletions
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
+}