diff options
author | Ole Daniel Evensen <daniel@ICE.(none)> | 2010-11-08 12:44:26 +0100 |
---|---|---|
committer | Ole Daniel Evensen <daniel@ICE.(none)> | 2010-11-08 12:44:26 +0100 |
commit | b7ae9e12637d4cc681b3c9007c733de862494b0d (patch) | |
tree | 50ec6037b885dc8cbf8a14c486043b59fcfe2b66 /server | |
parent | 22845bb4752bb5b8d601b542df01b5594f2bea31 (diff) |
Added docstring on TCPServer::handle_connection().
Diffstat (limited to 'server')
-rw-r--r-- | server/tcpserver.cpp | 4 |
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 +} |