[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] About TCP's RTT parameter



you may want to turn on tracing, and write a awk script to
process the trace file to get the time interval between a tcp
segment and its ack. I'm not sure if this is what you want.

- difa

On Wed, 14 Nov 2001, Xiang wrote:

> Hi all,
> I send this question again.
> In my simulation, I have the network topology shown below:
>
>     ----
>     |s1|-----------
>     ----   10 Mb   \
>             5 ms    \
>                      \----           ------          ----           ------
>                       |e1|-----------|core|----------|e2|-----------|dest|
>                      /----   10 Mb   ------   5 Mb   ----   10 Mb   ------
>                     /         5 ms            5 ms           5 ms
>     ----           /
>      |s2|-----------
>      ----   10 Mb
>             5 ms
>
> I attatch two TCP flows, TCP1 from s1 to dest, TCP2 from s2 to dest,I need to get
> each TCP's RTT value in node e1 based on source-destination pair in my c++ program.
> How can I do this? Please help me.
> Thanks in advance.
> Xiang
>