Hi, EveryOne!I am trying to dynamically modify the size of SegmentSize in ns3.
I recreated a subclass of TcpOptionOps and in the PktsAcked function, used tcb-> m_segmentSize = segSize;
in main function,I set
Config::SetDefault("ns3::TcpSocketBase::Sack",BooleanValue(false));
Config::SetDefault("ns3::TcpSocketBase::LimitedTransmit",BooleanValue(false));
but I got some errors as follows:
assert failed. cond="!head->m_lost", file=../src/internet/model/tcp-tx-buffer.cc, line=792
terminate called without an active exception
I have been troubled by this problem for many days, hope someone can help me, thank you very much