[ns] estimate the network conditions !

2008-06-11 Thread levy david
a final decision 3- is there any others conditions ? I appreciate your replies. Thanks, LEVY David.

[ns] can't send pkt (unicast/broadcast) - MANET ns2.30

2008-05-08 Thread levy david
Hello ns-suers, i can't send unicast or broadcast packets, I try several solutions, but no one works! 1- the code for unicast (sendUnicast(destination)) Packet* pkt = allocpkt(); hdr_cmn* hdrcmn = hdr_cmn::access(pkt); hdr_ip* iphdr = hdr_ip::access(pkt); hdr_monitor*

[ns] send unicast packets and packets to the direct neighbors !

2008-05-06 Thread levy david
Hello all, I have some questions : 1 - how to define an agent to send unicast packet (sendunicast(packet, * destination*)!) 2 - how to define an agent to send packets to *the direct neighbors *3- how to estimate the the number of the *one hop neighbors* 4 - how to define two types of node