[ns] How to find the 2 queues in a duplex-link

2011-03-16 Thread dipjahid
Hi all, I am working with ns duplex-link and I have to find the 2 queue (2 simple-link queue going up and down) variables to communicate between them in the c++ level. My main purpose is to communicate from one RED queue instance to the other one in the opposite direction. If anyone has any idea

[ns] Syn flooding attack

2011-03-16 Thread godwin sam
Dear friends, Can we do syn flooding attack in ns2. pls help. Godwin

[ns] location or position of nodes

2011-03-16 Thread Suman paul choudhury
dear all how is it possible to know the position of a node at any instant of a time if the node is in constant motion. can any one provide with the tcl code of the following? regards Suman

[ns] IP router

2011-03-16 Thread Souzan Asadollahi
hi could u plz tell me how can we assign the IP like (10.1.1.65) to the nodes in NS2? -- Souzan Asadollahi Msc Student of Information Security Faculty of Computer Science (CASE) Universiti Teknologi Malaysia-International Campus-Malaysia

Re: [ns] location or position of nodes

2011-03-16 Thread Manoj_Kumar
Suman paul choudhury wrote: how is it possible to know the position of a node at any instant of a time if the node is in constant motion. can any one provide with the tcl code of the following? This might help you: http://wp.me/piGUb-IE http://wp.me/piGUb-IE - --- ManojKumar.A

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-16 Thread Manoj_Kumar
Ns Learner wrote: With cout, I get this error message: error: ISO C++ forbids declaration of ‘cout’ with no type error: expected ‘;’ before ‘’ token Do not use cout. Use printf instead. - --- ManojKumar.A --- Blog: http://getch.wordpress,com Mailing list guidelines:

[ns] Number of neighbours

2011-03-16 Thread salahedin rehan
Hi all, How can I know the number of neighbours a node has before sending a packet. I am using the Agent below. When recieving, the node brodcast the packet with a probability. I need to know the number of neighbours to make that probability dynamic. In other words, when recieving a packet,

[ns] Ns-users Digest, Vol 87, Issue 14

2011-03-16 Thread marllus lustosa
Hi! Yes, i'm from Brasil! --- Hello, Are you also from Brasil? Érico V. Porto On Tue, Mar 15, 2011 at 9:01 AM, marllus lustosa marlluslust...@gmail.comwrote: An example for the Sinalgo simulator exists. You can adptar the code of Java for TCL. page:

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-16 Thread Ns Learner
Thanks, Pedro. I used printf in tcp.cc file inside the methods that are usually called. But, I don't get any statements printed on the console. What could be the mistake? Thanks. --- On Thu, 17/3/11, pedro chaparro pdr...@gmail.com wrote: From: pedro chaparro pdr...@gmail.com Subject: Re:

Re: [ns] Debugging ns code (.cc files) with print statements

2011-03-16 Thread Ns Learner
Thanks, Manoj. I used printf in tcp.cc file inside the methods that are usually called. But, I don't get any statements printed on the console. What could be the mistake? Thanks. --- On Thu, 17/3/11, Manoj_Kumar micman.ma...@ymail.com wrote: From: Manoj_Kumar micman.ma...@ymail.com Subject:

[ns] port of agent in multicast

2011-03-16 Thread shixm421
Hi all: I have a problem about the port of Agent. I have two Agent,one is a sender, another is a receiver. I set dst_port_ of sender=x. I get the value of agent_port_ of receiver is 2. Whatever the x is,the simulation will go on all the same in the multicast. Why does it happen? How can I fix it?