You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered that this problem is caused by that the NS-3 team has deleted the TCP flavours used in this repo. But I haven't find out which version of NS-3 supports them.
Trying to compile App6.cc
Get this:
zony@DESKTOP-LGIFS31:~/ns3/ns-allinone-3.29/ns-3.29$ ./waf
Waf: Entering directory `/home/zony/ns3/ns-allinone-3.29/ns-3.29/build'
[2684/2739] Compiling scratch/App6.cc
[2685/2739] Compiling scratch/scratch-simulator.cc
[2686/2739] Compiling scratch/subdir/scratch-simulator-subdir.cc
[2697/2739] Linking build/scratch/subdir/subdir
[2698/2739] Linking build/scratch/scratch-simulator
../scratch/App6.cc: In function ‘ns3::Ptrns3::Socket uniFlow(ns3::Address, uint, std::string, ns3::Ptrns3::Node, ns3::Ptrns3::Node, double, double, uint, uint, std::string, double, double)’:
../scratch/App6.cc:246:68: error: ‘TcpReno’ was not declared in this scope
246 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpReno::GetTypeId()));
| ^~~~~~~
../scratch/App6.cc:250:68: error: ‘TcpTahoe’ was not declared in this scope
250 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpTahoe::GetTypeId()));
| ^~~~~~~~
The text was updated successfully, but these errors were encountered: