equal
deleted
inserted
replaced
133 apps.Start (Seconds (1.0)); |
133 apps.Start (Seconds (1.0)); |
134 apps.Stop (Seconds (10.0)); |
134 apps.Stop (Seconds (10.0)); |
135 |
135 |
136 // Create a packet sink to receive these packets |
136 // Create a packet sink to receive these packets |
137 PacketSinkHelper sink; |
137 PacketSinkHelper sink; |
138 sink.SetupUdp (Ipv4Address::GetAny (), port); |
138 sink.SetUdpLocal (Ipv4Address::GetAny (), port); |
139 apps = sink.Install (c.Get (3)); |
139 apps = sink.Install (c.Get (3)); |
140 apps.Start (Seconds (1.0)); |
140 apps.Start (Seconds (1.0)); |
141 apps.Stop (Seconds (10.0)); |
141 apps.Stop (Seconds (10.0)); |
142 |
142 |
143 // Create a similar flow from n3 to n1, starting at time 1.1 seconds |
143 // Create a similar flow from n3 to n1, starting at time 1.1 seconds |