[ns] reading the values of PDUs in NS

2008-05-21 Thread Smita Vishwakarma
hi everybody, can anybody tell me In NS-2.27, how we can recv a PDU from another node and can read the values of the fields of the PDU ? If I attach the source node with a file and attach a destination node to a different file. -- smita

[ns] generate on/off tcp traffic

2008-05-21 Thread 曲晶莹
Hi,all I want to generate background traffic.Does anybody know how to generate on/off tcp traffic in NS2 ? Any answer will be respected. Thanks in advance. :-)

[ns] Reg: Accessing packet headers at intermediate nodes

2008-05-21 Thread Sarvesh Kumar
Does anyone have any idea on how I can access,process and write to each packet's header field at the intermediate nodes ( I mean not at Agent Sink or Null)? Where and how should I be doing this? I appreciate your replies. Thanks, Sarvesh What is your Emotional Quotient? Find out here -

[ns] About the Scenario file

2008-05-21 Thread aachandw
Hi, I created a scenario file using the setdest.cc in ns-2.31/indep-utils/cmu-scen-gen/setdest/. While analyzing it I came across the following two statements: $god_ set-dist $ns_ at 1.021733442892 "$god_ set-dist " The above lines actually are related to GOD and provide routing informati

[ns] DMAC protocol on NS2

2008-05-21 Thread Azita
Hi, It's Azita. I'm going to work on DMAC protocol on NS2. I have installed DMAC but I wanted to know if I should set any parameter for DMAC in my scripts. Can anybody please send me any link of some samples of scripts used DMAC as their mac protocol? I couldn't find it till now. Thanks -- View