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

(-)a/src/internet/model/tcp-socket-base.cc (-6 / +3 lines)
 Lines 783-790    Link Here 
783
        { // Try to send the data out
783
        { // Try to send the data out
784
          if (!m_sendPendingDataEvent.IsRunning ())
784
          if (!m_sendPendingDataEvent.IsRunning ())
785
            {
785
            {
786
              m_sendPendingDataEvent = Simulator::Schedule (TimeStep (1),
786
              m_sendPendingDataEvent = Simulator::ScheduleNow (&TcpSocketBase::SendPendingData,
787
                                                            &TcpSocketBase::SendPendingData,
788
                                                            this, m_connected);
787
                                                            this, m_connected);
789
            }
788
            }
790
        }
789
        }
 Lines 1243-1250    Link Here 
1243
      // Try to send more data, since window has been updated
1242
      // Try to send more data, since window has been updated
1244
      if (!m_sendPendingDataEvent.IsRunning ())
1243
      if (!m_sendPendingDataEvent.IsRunning ())
1245
        {
1244
        {
1246
          m_sendPendingDataEvent = Simulator::Schedule (TimeStep (1),
1245
          m_sendPendingDataEvent = Simulator::ScheduleNow (&TcpSocketBase::SendPendingData,
1247
                                                        &TcpSocketBase::SendPendingData,
1248
                                                        this, m_connected);
1246
                                                        this, m_connected);
1249
        }
1247
        }
1250
    }
1248
    }
 Lines 1553-1560    Link Here 
1553
      // Try to send more data
1551
      // Try to send more data
1554
      if (!m_sendPendingDataEvent.IsRunning ())
1552
      if (!m_sendPendingDataEvent.IsRunning ())
1555
        {
1553
        {
1556
          m_sendPendingDataEvent = Simulator::Schedule (TimeStep (1),
1554
          m_sendPendingDataEvent = Simulator::ScheduleNow (&TcpSocketBase::SendPendingData,
1557
                                                        &TcpSocketBase::SendPendingData,
1558
                                                        this, m_connected);
1555
                                                        this, m_connected);
1559
        }
1556
        }
1560
    }
1557
    }

Return to bug 2214