[ns] It's important for me to know the available bandwidth of a link

2009-07-15 Thread hadavi
Hi every body: I am a new ns users, I want to write a protocol which decides about path of packet by considering available bandwidth of link. can anybody tell me how I can calculate or know available bandwidth of a link. Thanks a lot. zeinab -- View this message in context: http://www.nabbl

[ns] creating new agent

2009-07-12 Thread hadavi
hi every body: I want to write a new routing algorithm in ns2, and need to send 2 different packet to collect some info for building routing tables. so I have a question: " can I send these 2 different packets with 2 different timers by creating only one agent or I have to create 2 different agen

[ns] sending a packet to all neighbors of a node

2009-06-03 Thread hadavi
Hello everybody: I am a new ns user. I want to write a method which can send a packet to all neighbors of a node. I think, first I should have a list of node's neighbor and then find targets of these nodes and send the packet to these targets. I will be thanks if anyone know the answer and help m