View | Details | Raw Unified | Return to bug 2285
Collapse All | Expand All

(-)a/src/internet/model/tcp-socket-base.cc (-1 / +2 lines)
 Lines 1723-1730    Link Here 
1723
      // Always respond to first data packet to speed up the connection.
1726
      // Always respond to first data packet to speed up the connection.
1724
      // Remove to get the behaviour of old NS-3 code.
1727
      // Remove to get the behaviour of old NS-3 code.
1725
      m_delAckCount = m_delAckMaxCount;
1728
      m_delAckCount = m_delAckMaxCount;
1729
      NotifyNewConnectionCreated (this, fromAddress);
1726
      ReceivedAck (packet, tcpHeader);
1730
      ReceivedAck (packet, tcpHeader);
1727
      NotifyNewConnectionCreated (this, fromAddress);
1728
      // As this connection is established, the socket is available to send data now
1731
      // As this connection is established, the socket is available to send data now
1729
      if (GetTxAvailable () > 0)
1732
      if (GetTxAvailable () > 0)
1730
        {
1733
        {
 Lines 1754-1759    Link Here 
1754
              m_endPoint6->SetPeer (Inet6SocketAddress::ConvertFrom (fromAddress).GetIpv6 (),
1757
              m_endPoint6->SetPeer (Inet6SocketAddress::ConvertFrom (fromAddress).GetIpv6 (),
1755
                                    Inet6SocketAddress::ConvertFrom (fromAddress).GetPort ());
1758
                                    Inet6SocketAddress::ConvertFrom (fromAddress).GetPort ());
1756
            }
1759
            }
1760
          NotifyNewConnectionCreated (this, fromAddress);
1757
          PeerClose (packet, tcpHeader);
1761
          PeerClose (packet, tcpHeader);
1758
        }
1762
        }
1759
    }
1763
    }

Return to bug 2285