[ns] Broadcast a UDP packet in NS2.34

2010-04-29 Thread JOE88
Dear Users, I am using NS2.34 for my final year project. I want to know How can I broadcast a packet to all my neighbors within 1 hop? Can you help me? I have the following nodes: - - Node 1 Node 0 - - - - Node 2 I want Node 0 to send the packet to both Node 1 an

Re: [ns] Multihop Broacasting in ns2

2010-04-29 Thread JOE88
Dear Adel, I am using NS2.34 for my final year project. I want to know How can I broadcast a packet to all my neighbors within 1 hop? Can you help me? I have the following nodes: - - Node 1 Node 0 - - - - Node 2 I want Node 0 to send the packet to both Node 1 and

[ns] URGENT: Broadcast a UDP packet in NS2.34

2010-05-01 Thread JOE88
Dear Users, I am using NS2.34 for my final year project. I want to know How can I broadcast a packet to all my neighbors within 1 hop? Can you help me? I have the following nodes: - - Node 1 Node 0 - - - - Node 2 I want Node 0 to send the packet to both Node 1 an

Re: [ns] URGENT: Broadcast a UDP packet in NS2.34

2010-05-01 Thread JOE88
] > $ns attach-agent $n2 $null2 > > $ns connect $udp1 $null1 > $ns connect $udp2 $null2 > > $ns at 0.1 "$src1 start" > $ns at 0.11 "$src2 start" > > $ns at 50 finish > > > $ns run > > > > JOE88 wrote: >> >> Dear U

Re: [ns] URGENT: Broadcast a UDP packet in NS2.34

2010-05-01 Thread JOE88
Thx, I tried it, it compiled but went I run it it does not display anythingdo you know what can be the problem? thx:) fenomeno83 wrote: > > or > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set nul

Re: [ns] TCL script stopped with KILL message

2010-05-18 Thread JOE88
HI, I am facing the same problem. I am running 100 nodes, after created a new agent. And when I run the TCl i get a KILLED message on the command prompt. Do you have a solution? Thanks, Joe manoop talasila wrote: > > > Hello NS Users, > > I am executing a TCL script for my new protocol ag