[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] advancedby
Pls see TcpAgent::advanceby() and its otcl binding in
TcpAgent::command() in tcp.cc.
On Wed, 1 Mar 2000, Selma Yilmaz wrote:
>
> Hello,
>
> I need help about usage of "advanceby". I have written a code like
>
> set tcp [new Agent/TCP]
> set sink [new Agent/TCPSink]
> $ns attach-agent $n0 $tcp
> $ns attach-agent $n3 $sink
> $ns connect $tcp $sink
> $tcp advanceby 100
>
> and it gives me error. Topology is
> n0-------n1-----n2-----n3
>
> Any ideas, pointers will be appreciated.
>
> Selma Yilmaz
>
>