summaryrefslogtreecommitdiff
path: root/src/network/core/tcp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-23 09:47:42 +0000
committerrubidium <rubidium@openttd.org>2008-12-23 09:47:42 +0000
commitae96ca635c9e5c22452acc0c1a473f339706fec3 (patch)
tree981c844c6183f54a4240cfa3663094d557f7b865 /src/network/core/tcp.h
parentd95a485108852af1a26d01cb99ba1b93cbebe1af (diff)
downloadopenttd-ae96ca635c9e5c22452acc0c1a473f339706fec3.tar.xz
(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for.
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r--src/network/core/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h
index f956aa105..716d219af 100644
--- a/src/network/core/tcp.h
+++ b/src/network/core/tcp.h
@@ -85,7 +85,7 @@ enum ClientStatus {
};
/** Base socket handler for all TCP sockets */
-class NetworkTCPSocketHandler : public NetworkSocketHandler {
+class NetworkClientSocket : public NetworkSocketHandler {
/* TODO: rewrite into a proper class */
private:
Packet *packet_queue; ///< Packets that are awaiting delivery
@@ -114,7 +114,7 @@ public:
inline NetworkClientInfo *GetInfo() const
{
extern NetworkClientInfo _network_client_info[MAX_CLIENT_INFO];
- extern NetworkTCPSocketHandler _clients[MAX_CLIENTS];
+ extern NetworkClientSocket _clients[MAX_CLIENTS];
return &_network_client_info[this - _clients];
}
};