wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src network.cpp


From: ott
Subject: [Wesnoth-cvs-commits] wesnoth/src network.cpp
Date: Wed, 27 Jul 2005 09:16:38 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <address@hidden>    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 <address@hidden>
    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) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]