UdpEchoServerHelper server (port);
ApplicationContainer echoApps = server.Install (n.Get (1));
echoApps.Start (Seconds (0.0));
AsciiTraceHelper asciiTraceHelper;
Ptr<OutputStreamWrapper> stream = asciiTraceHelper.CreateFileStream ("simple-one-stats.txt");
echoApps.Get(0)->TraceConnectWithoutContext ("Rx", MakeBoundCallback (&Rx, stream));
UdpClientHelper client (n.Get (1)->GetObject<Ipv4> ()->GetAddress (1, 0).GetLocal (), port);
ApplicationContainer apps = client.Install (n.Get (0));