Hi all,
I know that it is possible to set TCP version as:
Config::SetDefault ("ns3::TcpL4Protocol::SocketType", TypeIdValue (TcpNewReno::GetTypeId ()));
But I want to do the reverse: know which version of TCP is being used. That is, I want to have something like:
Config::GetDefault ("ns3::TcpL4Protocol::SocketType", ...)
Also, I tried to get an object of TcpL4Protocol, so that I can get the SocketType from the attributes list of the object. But I couldn't find from where should I get such an object.
Is there a way to do that?
Regards.
Inam