Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9448 in orxonox.OLD for branches


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

now comes the synchronization process from master server to proxy server, this task will probably be the hardest

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

Legend:

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

    r9443 r9448  
    269269                     part1.getString() + "." + part0.getString();
    270270
    271 #warning ip and ports are not handled correctly
    272   //   if (port != -1)
    273   //     addr += ":" + MultiType(port).getString();
    274271  return addr;
    275272}
  • branches/proxy/src/lib/network/network_manager.cc

    r9425 r9448  
    133133  this->networkStream->createServer( port);
    134134  // and connect to the master server for synchronization
    135 //   this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr());
    136   // and to the other proxy servers
     135  this->networkStream->connectToMasterServer(NetworkSettings::getInstance()->getMasterAddr().ipString(), 9999);
     136  // and to the other proxy servers also, this would be very nice if its works
    137137
    138138
Note: See TracChangeset for help on using the changeset viewer.