[ns] relay package - ack

2007-03-02 Thread leandro_villas
Hi, How I make a knot to the same relay package if after a time interval that the package was sent the knot not to receive one ack? Como eu faço para um nó retransmitir o mesmo pacote se depois de um intervalo de tempo que o pacote foi enviado o nó não receber um ack? I wait advances. ---

[ns] set opt(ifqlen)

2007-02-22 Thread leandro_villas
Hi, How I make in the code c++ to know how many packages I am in the line in one determined moment? I defined thus in tcl. set opt(ifqlen) 50 ;# max packet in ifq Debtor I wait of reply to advance. This message

[ns] color cmu-trace?

2007-02-12 Thread leandro_villas
Hi, Good Afternoon! In the archive It traces/cmu-trace.cc I had the following code: int pkt_color = 0; if (ch->ptype()==PT_RTALGO) { hdr_crtalgo *dfh= HDR_CRTALGO(p); if (dfh->mess_type == DATA) { pkt_color = 1; } } If mess_type will be

[ns] variable nsaddr_t

2007-02-09 Thread leandro_villas
hi Qual a diferença de uma variavel ns_addr_t de uma variavel inteira.? This message was sent using IMP, the Internet Messaging Program.

[ns] ns 802.11

2006-11-28 Thread leandro_villas
Hi all users of ns-2! I do not obtain to modify the ray of transmission of a sensory knot, I have the following configuration Phy/WirelessPhy set CPThresh_ 10,0 Phy/WirelessPhy set CSThresh_ 1.559e-11 Phy/WirelessPhy set RXThresh_ 3.652e-10; Phy/WirelessPhy set Rb_ 2*1e6; Phy/WirelessPhy set P

[ns] Phy/WirelessPhy set Pt_ ?

2006-11-26 Thread leandro_villas
I am attemped to use the code line [[lindex [$node_ (0) Array get netif_] 1] set Pt_ 0,5] and you giving the error ?invalid command name ?0,5??. somebody knows to say me why? http://decision.csl.uiuc.edu/~kawadia/SOFTWARE/ns2-txpower-describe.txt Thank you!

[ns] tcl range comunication

2006-11-24 Thread leandro_villas
I have the archive node_setup.tcl that it follows below and mine doubts is where rtaglo_rungrid.tcl is in red as to pass this value for the archive set node0 0 set taxa 7.0; #voltar para 0.2 set src_(0) [new Agent/RTAlgo_Sink] $ns_ attach-agent $node_($node0) $src_(0) $ns_ put-in-list $sr

[ns] How to change the Phy/Wireless Transmission Power

2006-11-24 Thread leandro_villas
Hi all, It has as to keep two Tx Power will be 802,11 in a sensory knot, for example for one determined type of data reach of 10 meters and for another type of data 100 meters? This message was sent using IMP, the Internet Me