title: UDP Throughput Calculation in NS3
body: <p>I have a client/server topology in NS3 and I want to calculate the throughput of UDP traffic on the server.
  This line of code <code>sink = StaticCast&lt;PacketSink&gt; (tcpServerApp.Get (0));</code> does not work because it can only be used in calculating the throughput of TCP packets. How can I calculate throughput for the received UDP traffic on the server?</p>
  
  <p>Thanks</p>