[ns] position of a mobile node while it is moving

2006-05-24 Thread Surmila Thokchom
  dear nsusers, can anyone tell me is there any function in ns-2.28 or ns-2.29 to locate the X and Y postion of a mobile node while is it moving. thanks surmila

[ns] position of a mobile node

2006-05-24 Thread Surmila Thokchom
  dear nsusers, can anyone tell me is there any function in ns-2.28 or ns-2.29 to locate the X and Y postion of a mobile node. thanks surmila

[ns] adhoc tcp simulation in ns2.29

2006-05-24 Thread sachin gajjar
I want to simulate adhoc tcp: transport protocol for adhoc wireless network by zhenghua et. al in ns 2.29. has anyone tried this before SachinGajjar shgajjar@<[EMAIL PROTECTED]:[EMAIL PROTECTED]">[EMAIL PROTECTED]=20> yahoo.com <[EMAIL PROTECTED]> [EMAIL PROTECTED]<[EMAIL PROTECTED]:[EMAIL PROTECT

[ns] How to find a handle to the node when in the agent class

2006-05-24 Thread Paul Vincent Craven
Ok, I've been banging my head on this question for quite some time now. If someone can help me past this issue, I'd be happy to send them $100 of Amazon wish-list stuff for their consulting time. Here's the deal. I've created my own routing agent. I can't get incoming packets from the wireless

[ns] how to modify the module code about satellite

2006-05-24 Thread r9406014
hi all , can anybody tell me how to modify the module code about satellite? And , when i want to modify the code, how many steps should i do ? thanks all

Re: [ns] ns remove() error -- try 2

2006-05-24 Thread smythek
Hey ns, It seems I must ask again: I have an error "PacketQueue:: remove() couldn't find target" that kills my simulation. Does anyone know what causes this? I found out that I don't get this error if I move my nodes far enough apart, but I need them pretty close. Kathy On Sun, 21 May 200

[ns] bandwidth in trace files & simulation

2006-05-24 Thread deepak
hi all, I have trace files for ns2, in that i think the packet size is in Bytes (not bytes). As given in http://nile.wpi.edu/NS/ ( Check trace analysis section in that). In the link configuration i have set the bandwidth as 1Mb/10Mb. But when i check the throughput (by counting the Bytes r

[ns] Nam simulation

2006-05-24 Thread Noelia Galisteo Ruiz
-- Hi everybody! I'm working with ns-2 and nam simulator, In nam simulator I have red nodes and yellow nodes, Somebody knows why is this?

[ns] Accessing the list of neighbors

2006-05-24 Thread debojit boro
Hi all, I am working on a clustering protocol where i 've to find neighbors after sending beacon frames. On recieving reply to beacon frames i add the node that has replied to the node that has sended the beacon frame as '$node_(host) add-neighbor node_($neigh)'.My problem is that i need to

[ns] another seg fault - urgent help needed

2006-05-24 Thread Pupun Das
Hi, We are trying to modify the mac-802_11 code for a simulation and a seg fault occurs when we increased the number of nodes. Using gdb, we came across the following information: >gdb ns core Core was generated by `ns csma8.tcl'. Program terminated with signal 11, Segmentation Fault. Reading s

[ns] Error while creating NOAH node

2006-05-24 Thread Tyler Ross
Hello, I'm trying to use NOAH to set up a multi-hop static route. I believe that I have added the necessary files, and made the necessary changes listed on the NOAH web site (http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/) in the right spots, but I am receiving an error when creating a node. I

[ns] CBR and Diffusion3

2006-05-24 Thread eoliveira
Hello, I am working on Directed Diffusion simulation and I am looking for a CBR application with the new version of Directed Diffusion (Diffusion3) on ns-2.29 as the old one (Diffusion). Does anybody known where I can get it? Thanks in advance. Best regards, Etienne Oliveira.

Re: [ns] transmitting the result of a C++ function back to a TCL function

2006-05-24 Thread Gilles Bertrand
well Robert, this helps! thank you very much for your valuable answer. I have found something similar, but I used to think that it looked like a "trick". I sent the result to a tcl implemented function returning its argument, something like: proc return_result { result} { return result } then

Re: [ns] transmitting the result of a C++ function back to a TCL function

2006-05-24 Thread Robert Luke
Gilles, I am away from my code right now but I recently did something similar. I put the Tcl command being sent back over to the interpreter side in a string instead of a long. I also used tcl.eval() instead of tcl.resultf(). (Keeping my fingers crossed that my memory is accurate...) Hope thi

[ns] Fwd: security in ns2

2006-05-24 Thread prashant kesarwani
hello frnds can ne body help me in implementing security feature in ns2. this is bugggin me for many days. waiting for a response. prashant kesarwani m.tech IT IIIT Allahabad India -

[ns] transmitting the result of a C++ function back to a TCL function

2006-05-24 Thread Gilles Bertrand
Dear NS users, I have implemented an new tcl instruction "get_stat". This function is implemented in C++ thanks to "my_Agent::command" function. I store a result in a variable "long my_result" and would like to transmit this value back to my TCL script. I therefore use the following instruction: