diff options
author | rubidium <rubidium@openttd.org> | 2010-11-30 13:38:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-30 13:38:46 +0000 |
commit | b6c2216749765e4d29fc3fa05dc1023c2c643cce (patch) | |
tree | abc3302f27c09c0e0494f4691e5989aa514116e2 /src/network/core/tcp.h | |
parent | 9c83a8975fe93568d4a3c44bd273e846b18d8e3f (diff) | |
download | openttd-b6c2216749765e4d29fc3fa05dc1023c2c643cce.tar.xz |
(svn r21358) -Codechange: make some network function names conform to coding style
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 86c568edf..899eba771 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -35,11 +35,11 @@ public: bool IsConnected() const { return this->sock != INVALID_SOCKET; } virtual NetworkRecvStatus CloseConnection(bool error = true); - void Send_Packet(Packet *packet); - bool Send_Packets(bool closing_down = false); + void SendPacket(Packet *packet); + bool SendPackets(bool closing_down = false); bool IsPacketQueueEmpty(); - Packet *Recv_Packet(); + Packet *ReceivePacket(); bool CanSendReceive(); |