[ns] TCP agent and sink
Teerawat Issariyakul
teerawat at ece.ubc.ca
Wed May 27 09:26:28 PDT 2009
Dear Vishal,
Only one sink is necessary. But you do need to connect both tcp agent to
the same sink by using "$ns connect $tcp1 $sink" and "$ns connect
$tcp2 $sink". The result would be the same as when you have two sinks.
Best,
Teerawat
On 5/27/2009, "Vishal Agarwal" <vish85 at gmail.com> wrote:
>
>Hello users,
>
>I am attaching 2 tcp agents at one source so do i need to attach 2 sinks at
>destination also or only 1 is sufficient. And when the agent tries to access
>the channel will there be any difference if there are two sinks rather than
>one?
>
>Thanks,
>
>--
>Vishal Agarwal
>
More information about the Ns-users
mailing list