[ns] Queue in Bytes

2006-03-23 Thread Ethan Giordano
I'm trying to set the queues in my simulation to be measured in bytes rather than in # of packets. The following does not seem to work, can anyone suggest the correct method? The line to set drop-front queuing works as intended, except from analyzing my traces, it does not appear that the

[ns] what's the problem of my MAC protocol?

2006-03-23 Thread chen guoming
Dear friends: I wrote a mac protocol named TMAC, I don't have TMAC source code, so I just modified the SMAC source code and only add TA to apaptively adjust the active time. I modified the SMAC test tcl script MyTest.tcl to run TMAC and it works fine. I can see the total energy consumption is

[ns] how to change an agent's address and port?

2006-03-23 Thread heyuyou
hello,everyone,i want to set an agent's address and port ,so i use #$tcp0 set agent_port_ 888 #$tcp0 set dst_port_ 999 #$tcp0 set dst_addr_ 3 $sink0 set agent_port 999 $sink0 set agent_addr 3 $ns connect $tcp0 $sink0 but after simulating, i find in the

Re: [ns] Routing protocol

2006-03-23 Thread Pedro Vale Estrela
Either duplicate the BroadcastTimer object to my_BroadcastTimer, or remove it from zigbee to use the one defined in AODV -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of juan manuel gomez garcia Sent: quinta-feira, 23 de Março de 2006 11:52 To:

[ns] Statements in recv() is not printed

2006-03-23 Thread raja priya
Dear All, I created a .cc file which actually has to broadcast the no of neighbors. For checking the c++ Otcl linkage i have just set the no of neighbors to be 10. I successfully created the .o file after doing make. I tried printing the no of neighbors using recv() in tcl but it dint

[ns] Statements in recv() is not printed

2006-03-23 Thread raja priya
Dear All, I created a .cc file which actually has to broadcast the no of neighbors. For checking the c++ Otcl linkage i have just set the no of neighbors to be 10. I successfully created the .o file after doing make. I tried printing the no of neighbors using recv() in tcl but it dint

[ns] Routing protocol

2006-03-23 Thread juan manuel gomez garcia
Hello Pedro: I duplicate the BroadcastTimer object to myBroadcastTimer but I obtain a new error. I have observed that this error say that the multiple definitions are in zigbee.cc but I don't add nothing. I don't understand it. The error is: zigbee/zigbee.o:(.bss+0x10): multiple definition of

[ns] access point script

2006-03-23 Thread ravi kumar
  hello, I have a project,Enhancement of QoS of WLAN for voice multimedia communication. i have an access point script but when i run this script,it show an error message. i have attached the access point script. can anyone please help me regarding that script. Thanks

[ns] MACAW Source Code

2006-03-23 Thread Sebastian Guazzini
Hello, anybody can help me to find a source code for NS2 of MACAW. I need to simulate this MAC Protocol. Thank You Sebastián Guazzini Córdoba - Argentina