Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2006, 10:52:37 AM (19 years ago)
Author:
patrick
Message:

switched another interface funciton

File:
1 edited

Legend:

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

    r9450 r9452  
    129129  NetworkSettings::getInstance()->loadData();
    130130
    131   // create the network stream
     131  // create the network stream af
    132132  this->networkStream = new NetworkStream(NET_PROXY_SERVER_ACTIVE);
     133  // first connect to the master server for synchronization
     134  this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr().ipString(), 9999);
     135  // start the handshake with the master server
     136  this->networkStream->startHandshake(NET_ID_MASTER_SERVER);
     137  // then start the server
    133138  this->networkStream->createServer( port);
    134   // and connect to the master server for synchronization
    135   this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr().ipString(), 9999);
    136139  // and to the other proxy servers also, this would be very nice if its works
    137140
Note: See TracChangeset for help on using the changeset viewer.