Dear Tommaso,
I have written a script. But it doesn’t work as I expect.
I added a computing module to calculate the packet loss rate, throughput, and delay.
However, the simulation result showed that the packet loss rate is one hundred percent. That is to say, the receiving node has not received any data.
Can you give me some suggestions to solve the problem? The source code is in the attachment. According to the guidance of the ns-3 website, I have explained the script at the beginning of the file.I gave you a private letter, there is a problem with the file, you can ignore.
It’s very kind of you to guide me.
Sincerely,
George.