Re: [ns] TCP agent and sink

2009-05-27 Thread Vishal Agarwal
ect 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" wrote: > > > > >

[ns] TCP agent and sink

2009-05-27 Thread Vishal Agarwal
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

[ns] problem with wireless multihop routing

2009-05-25 Thread Vishal Agarwal
the data they re-transmit it to both the destination nodes. The example files that i found about multihopping says that i need to fix source ,destination and no of hops only, but i wanted to engage both the relay nodes to all the source and destination. Kindly help. -- Vishal Agarwal

[ns] how to connect many tcp sources with sinks

2009-05-22 Thread Vishal Agarwal
quot;new" line 3) invoked from within "new agent/TCP" ("for" body line 2) invoked from within "for { set i 0} {$i < 10} {incr i} { set tcp($i+24) [new agent/TCP] $tcp($i+24) set class_ 2 set sink($i+24) [new Agent/TCPSink] $ns attach-agent $node..." ### Regards, Vishal Agarwal

[ns] Multicasting in multihop wireless networking

2009-05-21 Thread Vishal Agarwal
those i wanted my data to be multicasted to? And when i get the tcp packets from various source can i store all the packets in a single variable..if yes then how? One last question, can i fix my range of transmission if i use broadcasting instead of multicasting? Thanks in anticipation. -- Vishal

[ns] how to fix the range while broadcasting

2009-05-21 Thread Vishal Agarwal
broadcasting techniques. Also, can i use tcp connection connection to connect all the those i wanted my data to be multicasted to. And when i get the tcp packets from various source can i store all the packets in a single variable..? Thanks in anticipation. -- Vishal Agarwal --

[ns] how to use tracegraph

2008-10-10 Thread Vishal Agarwal
Dear users, I am trying to use tracegraph for interpreting and extracting information from my trace file. Can anyone please tell me the steps which i need to follow to install and then use it to do some analysis. I have matlab 7.0 installed on my computer. Thanks in advance -- Vishal

[ns] Simulation of broadcasting nodes & interpreting trace file

2008-10-10 Thread Vishal Agarwal
Hello all, I am trying to do a comparative study of two wireless standards by using one broadcast protocol in which there are 25 nodes and every node broadcasts its message after every 0.25 secs. After running the simulation, the trace file corresponding to it got generated but am not able to ide

[ns] Fwd: Setting PATH environment variable.

2008-10-06 Thread Vishal Agarwal
-- Forwarded message -- From: Vishal Agarwal <[EMAIL PROTECTED]> Date: Mon, Oct 6, 2008 at 4:28 PM Subject: Setting PATH environment variable. To: ns-users@isi.edu Dear ns-users, Can any one please tell me how to set the path environmental variables for successfully runni

Re: [ns] adding variable to ./bashrc file

2008-09-23 Thread Vishal Agarwal
256; c=relaxed/relaxed; >d=gmail.com; s=gamma; >h=domainkey-signature:received:received:message-id:date:from:to > :subject:mime-version:content-type; >bh=rQX6/yxIWAzidz96ZaemRcTjxR48qqD1ZZ9VDcahUco=; >b=j/kmDUCCjZr9duqST/HKXPOCKnc6Zr9f6LQrDNzM3Blu

[ns] Fwd: Installing ns 2.33 in windows

2008-09-10 Thread Vishal Agarwal
452723; Wed, 10 Sep 2008 02:54:12 -0700 (PDT) Received: by 10.90.33.20 with HTTP; Wed, 10 Sep 2008 02:54:12 -0700 (PDT) Message-ID: <[EMAIL PROTECTED]> Date: Wed, 10 Sep 2008 15:24:12 +0530 From: "Vishal Agarwal" <[EMAIL PROTECTED]> To: ns-users@ISI.EDU Subject: Installing

Re: [ns] Problem in DSR code

2008-06-25 Thread Vishal Agarwal
Hello, > > I am a beginner in ns2 and doing some implementation in ns2 but its giving > "segmentation fault". Please help me out of this. > Topology i used is 5 nodes of which 1st one is still and other 4 moving > towards it with some speed. All the nodes are arranged in a line. And 1st > node sen