Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9300 in orxonox.OLD for branches/proxy/src/lib/network/handshake.cc


Ignore:
Timestamp:
Jul 17, 2006, 10:15:33 AM (18 years ago)
Author:
patrick
Message:

work from this weekend in the train :D

  • the ip should now synchronize over network in the handshake (always the favorite 2 proxy server ips)
  • the network monitor now keeps track of all network nodes answers with proxy server lists if asked/needed
  • it is untested :D
File:
1 edited

Legend:

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

    r9296 r9300  
    2525
    2626
    27 Handshake::Handshake( int nodeType, int clientId, int networkGameManagerId, int messageManagerId )
     27 Handshake::Handshake( int nodeType, int clientId, int networkGameManagerId, int messageManagerId )
    2828  : Synchronizeable()
    2929{
     
    4646
    4747  registerVar( new SynchronizeableString( &localState.preferedNickName, &remoteState.preferedNickName, "preferedNickName", PERMISSION_ALL ) );
     48  // now synchronize only two of the available proxy server addresses
    4849  registerVar( new SynchronizeableIP( &localState.proxy1, &remoteState.proxy1, "proxy server 1", PERMISSION_ALL ) );
    4950  registerVar( new SynchronizeableIP( &localState.proxy2, &remoteState.proxy1, "proxy server 2", PERMISSION_ALL ) );
     
    6162  localState.canDel = 0;
    6263  localState.redirectProxy = 0;
     64  localState.proxy1.host = 0;
     65  localState.proxy1.port = 0;
     66  localState.proxy2.host = 0;
     67  localState.proxy2.port = 0;
    6368
     69
     70  // init the remote state
    6471  remoteState.completed = 0;
    6572  remoteState.error = 0;
     
    7380  remoteState.canDel = 0;
    7481  remoteState.redirectProxy = 0;
     82  remoteState.proxy1.host = 0;
     83  remoteState.proxy1.port = 0;
     84  remoteState.proxy2.host = 0;
     85  remoteState.proxy2.port = 0;
    7586
    7687  // activate the synchronization process
Note: See TracChangeset for help on using the changeset viewer.