Add abstract base class TcpSocket
This commit is contained in:
@@ -90,7 +90,7 @@ TcpSocketImpl::GetTypeId ()
|
||||
}
|
||||
|
||||
TcpSocketImpl::TcpSocketImpl(const TcpSocketImpl& sock)
|
||||
: Socket(sock), //copy the base class callbacks
|
||||
: TcpSocket(sock), //copy the base class callbacks
|
||||
m_skipRetxResched (sock.m_skipRetxResched),
|
||||
m_dupAckCount (sock.m_dupAckCount),
|
||||
m_delAckCount (0),
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <queue>
|
||||
#include "ns3/callback.h"
|
||||
#include "ns3/traced-value.h"
|
||||
#include "ns3/socket.h"
|
||||
#include "ns3/tcp-socket.h"
|
||||
#include "ns3/ptr.h"
|
||||
#include "ns3/ipv4-address.h"
|
||||
#include "ns3/event-id.h"
|
||||
@@ -42,7 +42,7 @@ class Packet;
|
||||
class TcpL4Protocol;
|
||||
class TcpHeader;
|
||||
|
||||
class TcpSocketImpl : public Socket
|
||||
class TcpSocketImpl : public TcpSocket
|
||||
{
|
||||
public:
|
||||
static TypeId GetTypeId (void);
|
||||
|
||||
Reference in New Issue
Block a user