(svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side

This commit is contained in:
rubidium
2010-10-15 13:22:00 +00:00
parent bff710650f
commit 594faf45d9
7 changed files with 73 additions and 42 deletions

View File

@@ -28,11 +28,19 @@
#include "../rev.h"
#include "network.h"
#include "network_base.h"
#include "network_client.h"
#include "table/strings.h"
/* This file handles all the client-commands */
/**
* Create a new socket for the client side of the game connection.
* @param s The socket to connect with.
*/
ClientNetworkGameSocketHandler::ClientNetworkGameSocketHandler(SOCKET s) : NetworkGameSocketHandler(s)
{
}
/* So we don't make too much typos ;) */
#define MY_CLIENT NetworkClientSocket::Get(0)