Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7857 in orxonox.OLD for branches


Ignore:
Timestamp:
May 25, 2006, 3:58:07 PM (19 years ago)
Author:
rennerc
Message:
 
Location:
branches/network/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/udp_server_socket.cc

    r7854 r7857  
    251251    if ( userId >= userList.size() )
    252252    {
    253      
    254       // first packet of client has size 0. else it is an old one or the first packet was lost
    255       assert( packet->len == 0 );
    256253     
    257254      newConn++;
  • branches/network/src/subprojects/network/network_unit_test.cc

    r7748 r7857  
    300300  netMan->initialize();
    301301 
    302  
    303  
    304   netMan->establishConnection("localhost", 9999);
     302  std::string host;
     303 
     304  if ( argc > 2 )
     305    host = argv[1];
     306  else
     307    host = "localhost";
     308 
     309  netMan->establishConnection(host, 9999);
    305310 
    306311//  SimpleSync* ss = new SimpleSync("SimpleSync");
Note: See TracChangeset for help on using the changeset viewer.