Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 23, 2006, 10:07:23 PM (19 years ago)
Author:
patrick
Message:

committing my weekends work: 2100 lines :D

  • proxy server now accepts and synchronizes clients like a master server
  • network manager got different network setup interface
  • network stream got different constructure scheme
  • permissions checking and algorithm extended and changed
  • starting ability to connect to multiple network nodes at the same time
  • some very much smaller changes here and there
File:
1 edited

Legend:

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

    r9388 r9396  
    3434  this->setClassID(CL_SHARED_NETWORK_DATA, "SharedNetworkData");
    3535
     36  this->nodeType = NET_CLIENT;
    3637  this->hostID = -1;
    3738  this->defaultSyncStream = NULL;
    3839
    39 //   if( State::isOnline())
    40   this->newUniqueID = ProxySettings::getInstance()->getMaxPlayer() + 2;
    41 //   else
    42 //  this->newUniqueID = NET_MAX_CONNECTIONS + 2;
    43   this->nodeType = NET_CLIENT;
     40  // setUniqueID( maxCon+2 ) because we need one id for every handshake
     41  // and one for handshake to reject client maxCon+1
     42  this->newUniqueID = NetworkSettings::getInstance()->getMaxPlayer() + 2;
    4443}
    4544
Note: See TracChangeset for help on using the changeset viewer.