TcpSocketFactory cannot receive all the packets when the program reads packet size from the file

12 views
Skip to first unread message

lxdjame...@gmail.com

unread,
Apr 1, 2018, 3:39:25 PM4/1/18
to ns-3-users
https://groups.google.com/forum/#!topic/ns-3-users/6qcskqIZTYA
This is my last post. Now I am switching to TcpSocketFactory. But when the program read packet size from the file, for example, 40 packets with 50000 bytes, the output is shown below.

We can see all 40 packets had been sent out, but total Rx was only 250000 bytes instead of 2000000 bytes. However, if the program sent constant packet size, everything worked fine. Any idea how to fix it? Thank you.

wifitest.cc
Reply all
Reply to author
Forward
0 new messages