Derar Khader
2018-12-03 23:21:39 UTC
hi all,
i am using the example (mixed-wired-wireless.cc) to simulate the different
CC protocols. According to the documentations, the default protocol used
with the TcpSocketFactory (OffOn Application) is TcpNewReno as given below:
Config::SetDefault ("ns3::TcpL4Protocol::SocketType", StringValue
("ns3::TcpNewReno"));.
Instead, i tried the following command to set TcpWestwood as my CC
protocol, and it worked fine like below:
Config::SetDefault ("ns3::TcpL4Protocol::SocketType", StringValue
("ns3::TcpWestwood"));
But i got an issue as i used the protocol type "TcpWestwoodPlus" instead of
TcpNewReno or TcpWestwood.The compilation didn't work anymore, and i got
the following error message:
----------------------------------------------------------------------------------------------------------------------------------------------
msg="Could not set default value for ns3::TcpL4Protocol::SocketType",
file=../src/core/model/config.cc, line=787 terminate called without an
active exception Command
['/home/cedkhader/Downloads/ns-allinone-3.29/ns-3.29/build/examples/wireless/ns3.29-mixed-wired-wireless-debug',
'--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with
signal SIGIOT. Run it under a debugger to get more information (./waf --run
<program> --command-template="gdb --args %s <args>").
---------------------------------------------------------------------------------------------------------------------------------------------
The problem lies in writing the correct typeId of Westwood+ protocol. Can
anyone help me please in this issue !!?
Thanks a lot in advance
cedkhader
i am using the example (mixed-wired-wireless.cc) to simulate the different
CC protocols. According to the documentations, the default protocol used
with the TcpSocketFactory (OffOn Application) is TcpNewReno as given below:
Config::SetDefault ("ns3::TcpL4Protocol::SocketType", StringValue
("ns3::TcpNewReno"));.
Instead, i tried the following command to set TcpWestwood as my CC
protocol, and it worked fine like below:
Config::SetDefault ("ns3::TcpL4Protocol::SocketType", StringValue
("ns3::TcpWestwood"));
But i got an issue as i used the protocol type "TcpWestwoodPlus" instead of
TcpNewReno or TcpWestwood.The compilation didn't work anymore, and i got
the following error message:
----------------------------------------------------------------------------------------------------------------------------------------------
msg="Could not set default value for ns3::TcpL4Protocol::SocketType",
file=../src/core/model/config.cc, line=787 terminate called without an
active exception Command
['/home/cedkhader/Downloads/ns-allinone-3.29/ns-3.29/build/examples/wireless/ns3.29-mixed-wired-wireless-debug',
'--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with
signal SIGIOT. Run it under a debugger to get more information (./waf --run
<program> --command-template="gdb --args %s <args>").
---------------------------------------------------------------------------------------------------------------------------------------------
The problem lies in writing the correct typeId of Westwood+ protocol. Can
anyone help me please in this issue !!?
Thanks a lot in advance
cedkhader
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.