Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2006, 2:49:23 PM (18 years ago)
Author:
rennerc
Message:

added some output so synchronizeable to find strange bug. did not help :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/subprojects/network/network_unit_test.cc

    r7613 r7617  
    191191  printf("=================\n");
    192192
    193   Synchronizeable* clientSync = new SimpleSync("Client\0");
    194   Synchronizeable* serverSync = new SimpleSync("Server\0");
     193  Synchronizeable* clientSync = new SimpleSync( std::string("Client") );
     194  Synchronizeable* serverSync = new SimpleSync( std::string("Server") );
    195195
    196196  unsigned int port = 9999;
     
    258258  netMan->createServer(/**ss, */ 9999);
    259259 
    260   SimpleSync* ss = new SimpleSync("Server\0");
     260  SimpleSync* ss = new SimpleSync("Server");
    261261
    262262 
     
    292292  netMan->establishConnection("localhost", 9999);
    293293 
    294   SimpleSync* ss = new SimpleSync("SimpleSync\0");
     294  SimpleSync* ss = new SimpleSync("SimpleSync");
    295295  netMan->connectSynchronizeable( *ss );
    296296
Note: See TracChangeset for help on using the changeset viewer.