examples/tcp-large-transfer.cc
changeset 2997 caf9d364c6fc
parent 2996 a83b94e277d4
parent 2965 4b28e9740e3b
child 3012 56a4c75f9422
child 3239 be022cc7fec9
--- a/examples/tcp-large-transfer.cc	Tue Apr 22 21:18:04 2008 -0700
+++ b/examples/tcp-large-transfer.cc	Tue Apr 22 21:19:39 2008 -0700
@@ -137,8 +137,8 @@
 
   // We create the channels first without any IP addressing information
   PointToPointHelper p2p;
-  p2p.SetChannelParameter ("BitRate", DataRate(10000000));
-  p2p.SetChannelParameter ("Delay", MilliSeconds(10));
+  p2p.SetChannelParameter ("BitRate", DataRateValue (DataRate(10000000)));
+  p2p.SetChannelParameter ("Delay", TimeValue (MilliSeconds(10)));
   NetDeviceContainer dev0 = p2p.Install (c0);
   NetDeviceContainer dev1 = p2p.Install (c1);
 
@@ -170,7 +170,7 @@
 
   // Create a packet sink to receive these packets
   PacketSinkHelper sink ("ns3::Tcp",
-    Address (InetSocketAddress (Ipv4Address::GetAny (), servPort)));
+                         InetSocketAddress (Ipv4Address::GetAny (), servPort));
 
   ApplicationContainer apps = sink.Install (c1.Get (1));
   apps.Start (Seconds (0.0));