Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9470 in orxonox.OLD for branches/proxy/src/lib/network/peer_info.cc


Ignore:
Timestamp:
Jul 25, 2006, 10:23:17 PM (18 years ago)
Author:
patrick
Message:

heavy permissions fight: no node was ever thought to be client and server at the same time, proxy server are hybrid nodes so there is need for a big framework extension.

  • made the obb creation saver
  • prevented segfaults in the aabb tree creation, this was very dangerous code
  • inserted handshake hack to make the handshake work.

No I will have to get the handshake right so the node works correctly

File:
1 edited

Legend:

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

    r9445 r9470  
    5858  return PeerInfo::nodeTypeToString( this->nodeType );
    5959  // the above does the same, and is faster in it. (there is no case where node is uninit i hope!)
    60 /*
    61   switch( this->nodeType)
    62   {
    63     case NET_CLIENT:
    64       return std::string("client");
    65     case NET_PROXY_SERVER_ACTIVE:
    66       return std::string("proxy server active");
    67     case NET_PROXY_SERVER_PASSIVE:
    68       return std::string("proxy server passive");
    69     case NET_MASTER_SERVER:
    70       return std::string("master server");
    71   }
    72 
    73   return std::string("node is uninit");*/
    7460}
    7561
Note: See TracChangeset for help on using the changeset viewer.