Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2006, 11:57:44 AM (18 years ago)
Author:
rennerc
Message:

added commandline argument to open network log console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_manager.cc

    r7680 r7749  
    2828#include "shared_network_data.h"
    2929#include "network_stream.h"
     30#include "preferences.h"
     31#include "network_log.h"
    3032
    3133
     
    5355  this->sharedNetworkData = SharedNetworkData::getInstance();
    5456  this->elapsedTime = 0.0f;
     57 
     58   
     59  int port = Preferences::getInstance()->getInt( "network", "telnetport", 0 );
     60 
     61  if ( port > 0 )
     62    NetworkLog::getInstance()->listen( port );
    5563
    5664  PRINTF(0)("NetworkManager created\n");
     
    7381  this->netStreamList = ClassList::getList(CL_SYNCHRONIZEABLE);
    7482  PRINTF(0)("NetworkManager initzalized\n");
     83
    7584}
    7685
Note: See TracChangeset for help on using the changeset viewer.