Re: [ns] velocity and direction of mobile nodes

2009-03-15 Thread Phenix
Hi Rainn, I only know how to get the velocity and direction vector, as below: MobileNode * pMNode ; speed = pMNode->speed(); dx = pMNode->dX(); dy = pMNode->dY(); I also want to know how to control the movement of mobile nodes, such as, nodes stop moving at a specific time. If anybody kn

[ns] problem with ftp stop and TCP

2009-03-15 Thread Diana Benitez
Hello everybody; I have teh following situation. A ftp agent stops but the TCP continues working. How this is possible? Do someone how to stop a TCP agent when the ftp stops? Thanks in advance, DIANA. _ Hotmail® is up to 70%

[ns] velocity and direction of mobile nodes

2009-03-15 Thread Rainn
Dear all, I need to manipulate velocity and direction of mobile nodes in ns-2. Could anyone please help me out "CODE" to manipulate this. It's urgent . Thanks in advance. Have a good days always.

[ns] makefile compilation

2009-03-15 Thread muralikrishna g
hi to all.. i am using NS-2.33, now i made changes to classifier.cc and queue.cc, to get these changes in to effect i have to compile.. but i don't have idea on how to compile after modifications.. please help me regarding this.. by Muralikrishna Gaddam

[ns] Problem while executing example script wireless.tcl (directory: ~ns/tcl/ex/simple-wireless.tcl) on NS-2.33

2009-03-15 Thread Sarvar Bakhramovich Musabekov
Dear All, I have installed NS-2.33 on VM RHat Linux 4 and tried to run exp script wireless.tcl and got following error: could't read file "../lib/ns-bsnode.tcl": no such file or directory while executing -> I have checked there is such file source.orig ../lib/ns-bsnode.tcl ("uplevel" body li

[ns] how to send message from one node to another node

2009-03-15 Thread muralikrishna g
hi to all.. i am searching for a solution.. i have to send an integer number from one node to another node.. how to make it please tell in detail.. i am in need thank u

[ns] How to ensure expire() function in MyTimer is called?

2009-03-15 Thread Swaroop Shere
Hi, I am writing a new agent (lets call it VabAgent) and implementing a custom timer class (MyTimer : public TimerHandler). I have implemented the expire function like this ---start code snippet-- MyTimer::expire(Event *e){     a_->broadcast();

[ns] How to ensure expire() function in MyTimer is called?

2009-03-15 Thread Swaroop Shere
Hi, I am writing a new agent (lets call it VabAgent) and implementing a custom timer class (MyTimer : public TimerHandler). I have implemented the expire function like this ---start code snippet-- MyTimer::expire(Event *e){     a_->broadcast();

Re: [ns] ns problem1

2009-03-15 Thread Teerawat Issariyakul
You need to install XServer. Go to website of Cygwin or google to find out how. Best, Teerawat On 3/15/2009, "ali bala" wrote: >hi >i had problem with nam (i worke with ns-2 under cygwin) >i did this steps for troubleshooting untill now : >  >while running simple example programs, I get error

[ns] Fw: vedio traffic output e-e delay is not reasonable

2009-03-15 Thread anas
From: anas Sent: Monday, March 16, 2009 3:41 AM To: ns Subject: vedio traffic output e-e delay is not reasonable Dear all, I have used the MPEG4 traffic of TES model over DSR but the end to end delay was not reasonable it was 5 s in average please if you have any suggestion or explan

Re: [ns] Range Proble...Again :(

2009-03-15 Thread Mustafa Kamal
HA and FA stand for Home Agent and Foreign Agents which means they are Base Station node. You can define a MH (Mobile Host) like below set MH0 [$ns_ node 1.0.7] set node_(0) $MH0 set HAaddress [AddrParams addr2id [$HA node-addr]] [$MH0 set regagent_] set home_agent_ $HAaddress [$MH0 set netif_(0

[ns] basic code for scenarios using any of AODV, DSDV, DSR protocols other than from the tutorial ...please send

2009-03-15 Thread veronica diaza
Hiii ns users..If any one of you guys have any basic codes for nearly 50 nodes or so, using any of the protocols AODV,DSR,DSDV which have been compiled without errors (which can generate graphs for parameters mentioned) please send me...thank in advance

[ns] DSDV simulation

2009-03-15 Thread Nebiat
Hi all At the moment I am simulating dsdv protocol to compare it with other modified version of dsdv so when I wanted to calculate routing overhead I was supposed to collect routing packets which includes sent and forwarded packets but my simulation doesn't show any forwarded routing packet wh

[ns] ns problem1

2009-03-15 Thread ali bala
hi i had problem with nam (i worke with ns-2 under cygwin) i did this steps for troubleshooting untill now :   while running simple example programs, I get error, $ nam: no display name and no $DISPLAY environment variable.   I tried set it with export DSIPLAY=:0.0 it gives error   $ nam

[ns] problem with ns

2009-03-15 Thread ali bala
hi i could run xgraph under cyqwin but i see this error when i run nam under cygwin with xserver $ nam: [code omitted because of length] : no event type or button # or keysym     while executing "bind Listbox { %W yview scroll [expr {- (%D / 120) * 4}] units }"     invoked from within "if {[tk

[ns] inserting node after starting simulation

2009-03-15 Thread renuka uday prabhu
  Hello users Is there any way by which I can insert a few nodes in the middle of simulation sat at 50 or 100secs. I tried creating the node by using $ns at 100.0 "command for creating the node" But it didnt work. Please let me know Thanks in advance renuka

Re: [ns] Packet dropping with multiple agents

2009-03-15 Thread Teerawat Issariyakul
The packet can be dropped due to several reasons such as packet transmission error (even though the nodes are close), or buffer overflow. I think you need to check whether the packets are dropped due to buffer overflow. Best, Teerawat On 3/14/2009, "Arslan Munir" wrote: > >Hi all, > >I have t