void runTest() { netSystem.run(TimeUtil::makeTime(1000, TimeUtil::SEC)); host1->cleanUp(); host2->cleanUp(); interface2->finalize(); interface->finalize(); netSystem.run(TimeUtil::makeTime(2000, TimeUtil::SEC)); }
void runTest() { netSystem.run(TimeUtil::makeTime(TIMEOUT, TimeUtil::SEC)); server_host->cleanUp(); for(int k=0; k<num_client; k++) client_hosts[k]->cleanUp(); interface_server->finalize(); for(int k=0; k<num_client; k++) interface_clients[k]->finalize(); netSystem.run(TimeUtil::makeTime(1000 + TIMEOUT, TimeUtil::SEC)); }