examples/tcp-large-transfer.cc
changeset 3248 39f736210ab2
parent 3245 ad57fb768f3a
parent 3181 26e7f865c548
child 3255 ba3b5024f6a6
--- a/examples/tcp-large-transfer.cc	Fri May 30 15:31:50 2008 -0400
+++ b/examples/tcp-large-transfer.cc	Wed Jun 04 17:19:32 2008 -0400
@@ -111,7 +111,7 @@
 
   // We create the channels first without any IP addressing information
   PointToPointHelper p2p;
-  p2p.SetChannelParameter ("BitRate", DataRateValue (DataRate(100000)));
+  p2p.SetDeviceParameter ("DataRate", DataRateValue (DataRate(10000000)));
   p2p.SetChannelParameter ("Delay", TimeValue (MilliSeconds(10)));
   NetDeviceContainer dev0 = p2p.Install (c0);
   NetDeviceContainer dev1 = p2p.Install (c1);
@@ -165,7 +165,7 @@
 
   PointToPointHelper::EnablePcapAll ("tcp-large-transfer");
 
-  Simulator::StopAt (Seconds(100));
+  Simulator::Stop (Seconds(1000));
   Simulator::Run ();
   Simulator::Destroy ();
 }