> No i actually mean flowmonitor between two nodes. :)
Well, that is sort what the LossMonitor is, so my remark is still valid.

Look into LossMonitor. It uses the RTP Seq Number field to detect
losses. That approach is only suitable for UDP traffic (even if it
ain't RTP traffic, NS2 still uses the RTP header). For TCP traffic I
think that the Agent/TCP and Agent/TCPSink already includes statistics
of retransmissions and other stuff.

Hope it helps,
Pedro Fortuna
INESC Porto

On 8/25/06, Nicholas Loulloudes <[EMAIL PROTECTED]> wrote:
>
> Hello Pedro,
>
> No i actually mean flowmonitor between two nodes. :)
>
> Is there any way i can do what you are telling me for pdrops_ ?
>
> Thank you.
>
>
>
> On 8/25/06, Pedro Fortuna <[EMAIL PROTECTED]> wrote:
> > If by "flow monitor" you mean the LossMonitor Agent, then the answer
> > is no. That Agent pretty much just only detects and counts packet
> > losses. But if you look at the code, it will see that it is farly
> > trivial to change and implement what you need.
> > You set a threshold value and register the last time the nlost_
> > crossed the value. Then register the time using two time counters:
> > double bellowThreshold_;
> > double above Threshold_;
> >
> > Seems trivial...
> > Good Luck,
> >
> > Pedro Fortuna
> > INESC Porto
> >
> > On 8/25/06, Nicholas Loulloudes < [EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > >
> > > Is there any way in NS2 i can record the time the value of nlost_ of a
> > > specific flow monitor  exceeds a certain value?
> > >
> > > Thank you.
> > >
> > > --
> > > Nicholas Loulloudes
> > >
> > > Postgraduate at Communication Networks and Software.
> > >
> > > BSc in Computer Science.
> > >
> >
> >
> > --
> > Cumprimentos,
> > Pedro Fortuna
> >
>
>
>
> --
>
> Nicholas Loulloudes
>
> Postgraduate at Communication Networks and Software.
>
> BSc in Computer Science.


-- 
Cumprimentos,
Pedro Fortuna

Reply via email to