From 460fbc7c921b4d960ca76a938f4221038c3c286d Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 10 Apr 2009 09:23:35 +0000 Subject: (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 :( --- src/network/core/address.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/network/core/address.h') 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 */ -- cgit v1.2.3-70-g09d2