From: Anders R. <ma...@us...> - 2007-02-25 17:59:38
|
Update of /cvsroot/planeshift/planeshift/src/common/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12868/src/common/net Modified Files: connection.cpp connection.h Log Message: - Changed message queue in npcclient from 100 to 300 elements. Index: connection.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/net/connection.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** connection.cpp 9 Feb 2007 21:50:25 -0000 1.33 --- connection.cpp 25 Feb 2007 17:59:33 -0000 1.34 *************** *** 47,52 **** #define LINKDEAD_ATTEMPTS 6 // 6 attempts with 5sec timeout gives 30secs ! psNetConnection::psNetConnection() ! : NetBase (100) { //@@@ DEBUG --- 47,52 ---- #define LINKDEAD_ATTEMPTS 6 // 6 attempts with 5sec timeout gives 30secs ! psNetConnection::psNetConnection(int queueLength) ! : NetBase (queueLength) { //@@@ DEBUG Index: connection.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/net/connection.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** connection.h 29 Jan 2007 04:51:50 -0000 1.12 --- connection.h 25 Feb 2007 17:59:33 -0000 1.13 *************** *** 38,43 **** { public: ! /// Creates a queue of messages 100 wide. ! psNetConnection(); /// Disconnects and terminates the thread. virtual ~psNetConnection(); --- 38,43 ---- { public: ! /// Creates a queue of messages queueLength wide. ! psNetConnection(int queueLength = 100); /// Disconnects and terminates the thread. virtual ~psNetConnection(); |