I did play with the headers to test my own protocol. As far as I know  
NS you should be able to modify your own header information to add  
what you need. I am not enough savy to explain how I did it but I  
found this manual really helpful to understand how NS handles the  
headers. It also contains some examples that you can use as starting  
point.

http://www.isi.edu/nsnam/ns/ns-documentation.html

Hope it helps,
-as


On 9 Jul 2009, at 08:18, Τσιλιγγίρης Γεώργιος wrote:

>
> Hi to all,
>
> I am trying to simulate a simple call flow in ns 2. Something like the
> one attached. My idea is to create a new packet header with one int
> value and one agent for each node. Each message in the call flow is
> given an ID (1,2,3...). The first agent sends the first packet with
> the ID=1 to the second node. The agent on the second node receives the
> packet and sends one packet back (ID=2) and one packet to the third
> node (ID=3). The procedure continues in the same way.
> I created the packet header successfully but i have some problems with
> the agents. Has anyone done anything similar? Can anyone help me?
>
> George.


  • [ns] ns 2 agents Τσιλιγγίρης Γεώργιος
    • Re: [ns] ns 2 agents Arturo Servin

Reply via email to