--- 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 ();
}