Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9447 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 25, 2006, 9:35:22 AM (18 years ago)
Author:
patrick
Message:

yea finaly the redirection algorithm realy works (testedsvn diff)

File:
1 edited

Legend:

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

    r9446 r9447  
    205205  PRINTF(0)("connect to proxy %s, this is node %i\n", host.c_str(), node);
    206206
     207  // this creates the new node in the peers map
    207208  this->peers[node].socket = new UdpSocket( host, port );
    208209  this->peers[node].userId = 0;
     
    400401
    401402    // check if the connecting client should reconnect to a proxy server
    402     peers[clientId].handshake->setRedirect(/*this->networkMonitor->isReconnectNextClient()*/true);
     403    peers[clientId].handshake->setRedirect(this->networkMonitor->isReconnectNextClient());
    403404
    404405    // the connecting node of course is a client
Note: See TracChangeset for help on using the changeset viewer.