checkpoint

This commit is contained in:
Craig Dowell
2010-01-22 12:44:53 -08:00
parent 699ade6453
commit a58a79f06e
53 changed files with 1120 additions and 762 deletions

View File

@@ -118,10 +118,9 @@ main (int argc, char *argv[])
client.SetFill(apps.Get (0), fill, sizeof(fill), 1024);
#endif
std::ofstream ascii;
ascii.open ("udp-echo.tr");
AsciiTraceHelper ascii;
csma.EnableAsciiAll (ascii.CreateFileStream ("udp-echo.tr"));
csma.EnablePcapAll ("udp-echo", false);
CsmaHelper::EnableAsciiAll (ascii);
//
// Now, do the actual simulation.