[ns] Monitoring a TCP flow duration...
Tue, 2 Oct 2001 13:20:22 -0700 (PDT)
1 way to do this would be write some code in Agent/TCP Done procedure.
Then you can query $self and find out the stats that you want.
On Tue, 2 Oct 2001, Prashant Ratanchandani wrote:
> A look at the trace file to see when the last tcp packet is sent can
> give you this information.....unless I have construed your question all
> "Ignacio Más Ivars" wrote:
> > Hi everybody!!
> > I am trying to monitor the time it takes for a TCP agent to send a particular
> > number of bytes. I am just using the send function of TCPAgent and I can, of
> > course see the time it starts sending the data, but I have not found a way to
> > check the time the agent finishes sending the data... Is there a way to do
> > that in Tcl/OTcl without modifying the code of the TCPAgent? How could I check
> > when the data has been successfully transfered? Any ideas?
> > Thanks in advance!!
> > /Nacho
> > --
> > Department of Microelectronics and Information Technology
> > Royal Institute of Technology
> > http://www.it.kth.se/~nacho/ Tf:+46 (0)8 752 1497