- "/NodeList/[i]/$ns3::TcpL4Protocol/SocketList/[i]"
// Create a new instance of MyTcpSocketBase
MyTcpSocketBase mySocket;
// Set the MyTcpSocketBase factory for TcpSocketBase using Config::Set
std::string path = "/NodeList/[i]/$ns3::TcpL4Protocol/SocketList/[i]/$ns3::TcpSocketBase";
ObjectVectorValue tcpSocketBaseValue;
tcpSocketBaseValue.Set(InternalSocketFactory<MyTcpSocketBase>::GetTypeId());
Config::Set(path, tcpSocketBaseValue);
And it seems to be not working, can someone please help me?