[Ns-bugs] [Bug 490] New: OnOffApplication: m_lastStartTime not set correctly

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Feb 5 09:28:56 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=490

           Summary: OnOffApplication: m_lastStartTime not set correctly
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: applications
        AssignedTo: raj.b at gatech.edu
        ReportedBy: tomh at tomh.org
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


m_lastStartTime needs to be set both when a packet is sent and when the
application starts sending.  Otherwise, it is possible for an application to
start and stop without a packet being sent, and the computation for
m_residualBits becomes incorrect.  An artifact of the current bug is that
csma-multicast.cc script doesn't send any packets.

Also, the behavior of OnOffApplication needs to be better documented because it
wasn't intuitive to me that state is saved across stop/start event sequences.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list