CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <[EMAIL PROTECTED]> 05/07/27 13:16:38
Modified files:
src : network.cpp
Log message:
increase from 64 to 512 sockets
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/network.cpp.diff?tr1=1.67&tr2=1.68&r1=text&r2=text
Patches:
Index: wesnoth/src/network.cpp
diff -u wesnoth/src/network.cpp:1.67 wesnoth/src/network.cpp:1.68
--- wesnoth/src/network.cpp:1.67 Wed Jul 20 08:22:37 2005
+++ wesnoth/src/network.cpp Wed Jul 27 13:16:38 2005
@@ -1,4 +1,4 @@
-/* $Id: network.cpp,v 1.67 2005/07/20 08:22:37 ott Exp $ */
+/* $Id: network.cpp,v 1.68 2005/07/27 13:16:38 ott Exp $ */
/*
Copyright (C) 2003-5 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -187,7 +187,7 @@
throw error(SDL_GetError());
}
- socket_set = SDLNet_AllocSocketSet(64);
+ socket_set = SDLNet_AllocSocketSet(512);
worker_pool_man = new network_worker_pool::manager(nthreads);
}
@@ -378,7 +378,7 @@
LOG_NW << "received connection. Pending handshake...\n";
pending_sockets.push_back(sock);
if(pending_socket_set == 0) {
- pending_socket_set = SDLNet_AllocSocketSet(64);
+ pending_socket_set = SDLNet_AllocSocketSet(512);
}
if(pending_socket_set != 0) {