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

@@ -145,10 +145,9 @@ main (int argc, char *argv[])
dstSocket->Bind (dst);
dstSocket->SetRecvCallback (MakeCallback (&dstSocketRecv));
std::ofstream ascii;
ascii.open ("socket-bound-static-routing.tr");
AsciiTraceHelper ascii;
p2p.EnableAsciiAll (ascii.CreateFileStream ("socket-bound-static-routing.tr"));
p2p.EnablePcapAll ("socket-bound-static-routing");
PointToPointHelper::EnableAsciiAll (ascii);
LogComponentEnableAll (LOG_PREFIX_TIME);
LogComponentEnable ("SocketBoundRoutingExample", LOG_LEVEL_INFO);

View File

@@ -161,10 +161,9 @@ main (int argc, char *argv[])
apps.Start (Seconds (0.0));
apps.Stop (Seconds (10.0));
std::ofstream ascii;
ascii.open ("socket-bound-tcp-static-routing.tr");
AsciiTraceHelper ascii;
p2p.EnableAsciiAll (ascii.CreateFileStream ("socket-bound-tcp-static-routing.tr"));
p2p.EnablePcapAll ("socket-bound-tcp-static-routing");
PointToPointHelper::EnableAsciiAll (ascii);
LogComponentEnableAll (LOG_PREFIX_TIME);
LogComponentEnable ("SocketBoundTcpRoutingExample", LOG_LEVEL_INFO);