src/internet/model/tcp-socket-base.h
changeset 7176 9f2663992e99
parent 6834 036f9a0b9899
child 7385 10beb0e53130
equal deleted inserted replaced
7175:8fffa1497fba 7176:9f2663992e99
    75   virtual void SetTcp (Ptr<TcpL4Protocol> tcp);
    75   virtual void SetTcp (Ptr<TcpL4Protocol> tcp);
    76   virtual void SetRtt (Ptr<RttEstimator> rtt);
    76   virtual void SetRtt (Ptr<RttEstimator> rtt);
    77 
    77 
    78   // Necessary implementations of null functions from ns3::Socket
    78   // Necessary implementations of null functions from ns3::Socket
    79   virtual enum SocketErrno GetErrno (void) const;    // returns m_errno
    79   virtual enum SocketErrno GetErrno (void) const;    // returns m_errno
    80   virtual enum SocketType GetSocketType (void) const;// returns socket type 
    80   virtual enum SocketType GetSocketType (void) const; // returns socket type
    81   virtual Ptr<Node> GetNode (void) const;            // returns m_node
    81   virtual Ptr<Node> GetNode (void) const;            // returns m_node
    82   virtual int Bind (void);    // Bind a socket by setting up endpoint in TcpL4Protocol
    82   virtual int Bind (void);    // Bind a socket by setting up endpoint in TcpL4Protocol
    83   virtual int Bind (const Address &address);         // ... endpoint of specific addr or port
    83   virtual int Bind (const Address &address);         // ... endpoint of specific addr or port
    84   virtual int Connect (const Address &address);      // Setup endpoint and call ProcessAction() to connect
    84   virtual int Connect (const Address &address);      // Setup endpoint and call ProcessAction() to connect
    85   virtual int Listen (void);  // Verify the socket is in a correct state and call ProcessAction() to listen
    85   virtual int Listen (void);  // Verify the socket is in a correct state and call ProcessAction() to listen