agoodperson815
agoodperson815
关注数: 0
粉丝数: 0
发帖数: 1
关注贴吧数: 0
求大佬调试以下代码,代码都有但是跑不出来 [2963/3043] Compiling scratch/application6.cc ../scratch/application6.cc: In function ‘ns3::Ptr<ns3::Socket> uniFlow(ns3::Address, uint, std::string, ns3::Ptr<ns3::Node>, ns3::Ptr<ns3::Node>, double, double, uint, uint, std::string, double, double)’: ../scratch/application6.cc:245:68: error: ‘TcpReno’ was not declared in this scope 245 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpReno::GetTypeId())); | ^~~~~~~ ../scratch/application6.cc:247:68: error: ‘TcpTahoe’ was not declared in this scope 247 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpTahoe::GetTypeId())); |
1
下一页