summaryrefslogtreecommitdiff
path: root/src/network/core/address.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-10 09:23:35 +0000
committerrubidium <rubidium@openttd.org>2009-04-10 09:23:35 +0000
commit460fbc7c921b4d960ca76a938f4221038c3c286d (patch)
tree507acfd3f1d8033df25b2ec10a53dad0b988f8b1 /src/network/core/address.h
parentd3de4ba91b5010cdb65acb5cc217f5beba16b9c0 (diff)
downloadopenttd-460fbc7c921b4d960ca76a938f4221038c3c286d.tar.xz
(svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :(
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r--src/network/core/address.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h
index 2c37860c4..564d23625 100644
--- a/src/network/core/address.h
+++ b/src/network/core/address.h
@@ -227,9 +227,8 @@ public:
* Make the given socket listen.
* @param socktype the type of socket (TCP, UDP, etc)
* @param sockets the list of sockets to add the sockets to
- * @return the socket (if sockets != NULL)
*/
- SOCKET Listen(int socktype, SocketList *sockets = NULL);
+ void Listen(int socktype, SocketList *sockets);
};
#endif /* ENABLE_NETWORK */