matricola marco

main
EmaMaker 2023-12-30 09:24:48 +00:00
parent 44a51e10e3
commit b6e9f26113
1 changed files with 4 additions and 4 deletions

View File

@ -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 ----- */