summaryrefslogtreecommitdiff
path: root/src/network/core/udp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-28 20:47:25 +0000
committerrubidium <rubidium@openttd.org>2007-01-28 20:47:25 +0000
commitf72dde5236afd8d9a2e29ae1750e8933666b711f (patch)
treef0a56923473a03a88c71f37b852a587ba3c56fa7 /src/network/core/udp.h
parent2e984e04775e97ce07698c5f45ed868cb1727ead (diff)
downloadopenttd-f72dde5236afd8d9a2e29ae1750e8933666b711f.tar.xz
(svn r8445) -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions.
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r--src/network/core/udp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/core/udp.h b/src/network/core/udp.h
index 1d09675ef..e2ac876a9 100644
--- a/src/network/core/udp.h
+++ b/src/network/core/udp.h
@@ -120,8 +120,9 @@ protected:
* the grfconfig list of the NetworkGameInfo.
* @param config the GRF to handle
*/
- virtual void HandleIncomingNetworkGameInfoGRFConfig(GRFConfig *config) { NOT_REACHED(); }
+ virtual void HandleIncomingNetworkGameInfoGRFConfig(GRFConfig *config) = 0;
public:
+ /** On destructing of this class, the socket needs to be closed */
virtual ~NetworkUDPSocketHandler() { this->Close(); }
bool Listen(uint32 host, uint16 port, bool broadcast);