(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 :(

This commit is contained in:
rubidium
2009-04-10 09:23:35 +00:00
parent d3de4ba91b
commit 460fbc7c92
2 changed files with 22 additions and 5 deletions

View File

@@ -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 */