tcp: disable SACK in a NewReno testcase
This commit is contained in:
@@ -496,6 +496,8 @@ Ns3TcpCwndTestCase2::DoRun (void)
|
||||
// Create the socket for n0
|
||||
Address sinkAddress (InetSocketAddress (ipInterfs.GetAddress (1), servPort));
|
||||
Ptr<Socket> ns3TcpSocket = Socket::CreateSocket (n0n1.Get (0), TcpSocketFactory::GetTypeId ());
|
||||
// Disable SACK because this test is testing NewReno behavior
|
||||
ns3TcpSocket->SetAttribute ("Sack", BooleanValue (false));
|
||||
ns3TcpSocket->TraceConnectWithoutContext ("CongestionWindow", MakeCallback (&Ns3TcpCwndTestCase2::CwndChange, this));
|
||||
|
||||
// Create and start the app for n0
|
||||
|
||||
Reference in New Issue
Block a user