checkpoint
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user