Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9626 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 31, 2006, 12:04:52 AM (18 years ago)
Author:
patrick
Message:

proxy server accepts clients again, some doc

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

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

    r9625 r9626  
    142142
    143143  // then start the server
    144 //   this->networkStream->createServer( port, port + 1, port + 2);
     144  this->networkStream->createServer( port, port + 1, port + 2);
    145145
    146146  // and to the other proxy servers also, this would be very nice if its works
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9625 r9626  
    295295
    296296
     297
     298
    297299    if ( sizeIter == stateFrom->sizeList.end() || *sizeIter != (*it)->getSize() )
    298300      sizeChanged = true;
     
    302304      n = (*it)->writeToBuf( stateTo->data+i, stateTo->dataLength - i );
    303305      //NETPRINTF(0)("getvar %s %d\n", (*it)->getName().c_str(), n);
    304       //PRINTF(0)("getvar %s %d\n", (*it)->getName().c_str(), n);
     306//       PRINTF(0)("sending %s %d\n", (*it)->getName().c_str(), n);
    305307      stateTo->sizeList.push_back( n );
    306308      // this is only for very hardcore debug sessions
     
    343345
    344346/**
    345  * sets a new state out of a diff created on another host
     347 * sets a new state out of a diff created on another host (recieving data)
    346348 * @param userId hostId of user who send me that diff
    347349 * @param data pointer to diff
     
    464466      i += n;
    465467      //NETPRINTF(0)("%s::setvar %s %d\n", getClassCName(), (*it)->getName().c_str(), n);
    466       //PRINTF(0)("%s::setvar %s %d\n", getClassCName(), (*it)->getName().c_str(), n);
     468//       PRINTF(0)("recieving: %s %d\n", (*it)->getName().c_str(), n);
    467469      //(*it)->debug();
    468470      if ( (*it)->getHasChanged() )
Note: See TracChangeset for help on using the changeset viewer.