diff --git a/scratch/task_2001600.cc b/scratch/task_2001600.cc index 19b35e388..4d982fbdb 100644 --- a/scratch/task_2001600.cc +++ b/scratch/task_2001600.cc @@ -310,7 +310,7 @@ int main(int argc, char* argv[]) // Node 11 that sends to server 0 OnOffHelper onOffHelper_11("ns3::TcpSocketFactory", iStations.GetAddress(1)); onOffHelper_11.SetAttribute("OnTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); - onOffHelper_11.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=0]")); + onOffHelper_11.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); onOffHelper_11.SetAttribute("PacketSize", UintegerValue(1821)); AddressValue address0_11(InetSocketAddress(ipptp02.GetAddress(0), port0)); onOffHelper_11.SetAttribute("Remote", address0_11); @@ -321,7 +321,7 @@ int main(int argc, char* argv[]) // Node 15 that sends to server 1 OnOffHelper onOffHelper_10("ns3::TcpSocketFactory", iStations.GetAddress(0)); onOffHelper_10.SetAttribute("OnTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); - onOffHelper_10.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=0]")); + onOffHelper_10.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); onOffHelper_10.SetAttribute("PacketSize", UintegerValue(1829)); AddressValue address0_10(InetSocketAddress(InetSocketAddress(ipptp12.GetAddress(0), port0))); onOffHelper_10.SetAttribute("StartTime", StringValue("3.39s")); @@ -332,7 +332,7 @@ int main(int argc, char* argv[]) // Node 15 that sends to server 0 OnOffHelper onOffHelper_15("ns3::TcpSocketFactory", iStations.GetAddress(5)); onOffHelper_15.SetAttribute("OnTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); - onOffHelper_15.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=0]")); + onOffHelper_15.SetAttribute("OffTime", StringValue("ns3::ExponentialRandomVariable[Mean=1]")); onOffHelper_15.SetAttribute("PacketSize", UintegerValue(1099)); AddressValue address0_15(InetSocketAddress(ipptp02.GetAddress(0), port1)); onOffHelper_15.SetAttribute("StartTime", StringValue("3.71s")); @@ -359,7 +359,7 @@ int main(int argc, char* argv[]) echoClient.SetAttribute("PacketSize", UintegerValue(1447)); ApplicationContainer clientApps = echoClient.Install(allNodes.Get(13)); - echoClient.SetFill(clientApps.Get(0), "Giulia,Battioni,1986870,Emanuele,Coletta,2001600,Federico,Corsale,1985903,Francesco,Maura,2017683,Marco,Totaro,NonLoSoNonRispondeAiMessaggi"); + echoClient.SetFill(clientApps.Get(0), "Giulia,Battioni,1986870,Emanuele,Coletta,2001600,Federico,Corsale,1985903,Francesco,Maura,2017683,Marco,Totaro,1871834"); clientApps.Start(Seconds(0.0)); /* ----- End of UDP Echo ----- */