[ns] Timer with packet ID

2006-07-11 Thread sandoche balakrichenan
Hello everybody The timer function in NS in Constant Bit Rate(CBR) traffic generation works like this. After every interval it creates a new packet and sends the created packet. For me what i want is, if i have created a packet with sequence number 1, i send that packet and wait for

[ns] how to simulate UDP server?

2006-07-11 Thread S.Thanga Prakash
hi all, I am trying to simulate UDP server/client application. The client will send the request and the server receives it and send it back to the client and client receives it. When i tried with Agent/UDP? I don't know send the message back to client. One more, the client

[ns] 802.11 dynamic bit rate change

2006-07-11 Thread guille
Hi, In real 802.11b and 802.11g wireless cards the bit rate changes dynamically depending on the channel conditions. If the card is working at 54Mbps and is receiving no ACK's from the receiver it will automatically switch to a lower bit rate. Modulations used by lower bit rates are stronger

[ns] urgent, plz suggest

2006-07-11 Thread ijaz haider naqvi
Dear all, I am waiting for a response. I am encountering a problem with ns loss models... The problem is: The uniform / Markovian loss model works very well with UDP agent But when I try to use these loss models with DCCP/TCPlike Agent it does not works properly. It

[ns] R: 802.11 dynamic bit rate change

2006-07-11 Thread Marco Fiore
Guillermo, ns-2 does not offer native support for such phenomenon. You can have a look at the patch at www.reti.polito.it/fiore which adds realistic propagation and ARF support. Marco Messaggio originale Da: [EMAIL PROTECTED] Data: 11-lug-2006 11.50 AM A: Ns Usersns-users@ISI.EDU

[ns] ns226 - ns228 differences

2006-07-11 Thread Christos Antonopoulos
Hello everyone, I am running the same simulations of ad-hoc network with ns2.26 and ns2.28 and I get significant differences at delay measurements. Especially when DSR is considered the differences are quite high. Can someone verify these conclusions? Is the implementation of DSR so

Re: [ns] ns226 - ns228 differences

2006-07-11 Thread Samer Bali
Hi Christos, Hi all, I noticed also that TCP behaviour is different between the two versions (ns-2.26 ns-2.28). I ran the same simulation on both versions and I noticed that in ns-2.26 there is more dropped packet than in ns-2.28. I do not know if this is a bug in ns-2.26 or not. Has any

Re: [ns] how to simulate UDP server?

2006-07-11 Thread S.Thanga Prakash
hi, thanks for the response. But, i want the flow as client--server--client. So, that i can able to find out the response time for the request. Simplex will be trigger the request and response independently. Is there way to give continous X request of N bytes? ie., parameters for

[ns] TX Range Problem Still not Clear

2006-07-11 Thread Abdulaziz Barnawi
Hi All, I have been looking for a solution on how to set a TX range for a Base Station that is different (e.g. much larger) from other nodes in the network. Unfortunately all the solutions I have tried (including ones already posted on the this list) will set the same TX range for all nodes

[ns] DSDV Data recv()

2006-07-11 Thread Sameh Gobriel
Hi ns-users, I have a question related to the receive function in dsdv.cc If you take a look on the code it does the following: 1- It first checks if the node is the sender (src == myaddr_) 2- Then it checks if the packet received is a routing packet (src != myaddr_) (iph-dport() == ROUTER_PORT)

Re: [ns] Changing CBR parameters with TCL scripts

2006-07-11 Thread B. A. Hirantha Sithira Abeysekera
Hi, You can set parameter as follows: set app [new Application/Traffic/CBR] $app set rate_ 64000 ;#kbps $app set packetSize_ 100 ;#bytes You can get more details in ns manual. Regards, Hirantha On Tue, 11 Jul 2006 16:22:22 +0100, lekkie omotayo [EMAIL PROTECTED] wrote: Hi

Re: [ns] TX Range Problem Still not Clear

2006-07-11 Thread Daniel Mahrenholz
Abdulaziz Barnawi schrieb: I have been looking for a solution on how to set a TX range for a Base Station that is different (e.g. much larger) from other nodes in the network. Unfortunately all the solutions I have tried (including ones already posted on the this list) will set the same TX