From c4aa943aaa2718d046aa591555efb7538e77d780 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 5 May 2011 16:24:48 +0000 Subject: (svn r22424) -Document: some more bits --- src/network/network.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/network/network.cpp') diff --git a/src/network/network.cpp b/src/network/network.cpp index 741540661..d3f771c8e 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -126,7 +126,7 @@ NetworkClientInfo::~NetworkClientInfo() * @param client_id the ClientID to search for * @return return a pointer to the corresponding NetworkClientSocket struct or NULL when not found */ -/* static */ NetworkClientSocket *NetworkClientSocket::GetByClientID(ClientID client_id) +/* static */ ServerNetworkGameSocketHandler *ServerNetworkGameSocketHandler::GetByClientID(ClientID client_id) { NetworkClientSocket *cs; @@ -479,6 +479,11 @@ void ParseConnectionString(const char **company, const char **port, char *connec } } +/** + * Handle the acception of a connection to the server. + * @param s The socket of the new connection. + * @param address The address of the peer. + */ /* static */ void ServerNetworkGameSocketHandler::AcceptConnection(SOCKET s, const NetworkAddress &address) { /* Register the login */ -- cgit v1.2.3-70-g09d2