if I have a sender node where I attach a tcp/vegas
agent and I connect it by some router nodes to another node where there is
attached a tcpSink,how can I count the bytes that my tcpSink receive to
calculate its throughput by num_bytes_received / time?
I don't know how I can count the
bytes!
I cannot use "tcpSink set_bytes" in my procedure
record!I don't want to use lossmonitor or others!
I want to use tcpSink!
thank you for your help.
|