Re: [ns] data payload in packet

2010-07-28 Thread G.Acar
Avinash, ns packets do not contain payload unless you tell them to do so. So when you create a traffic generator and attach it to a tcp or udp agent, don't expect the packets to carry any payload. If you want them to carry payload, you must create an application that writes into the userdata

[ns] MultiStateErrorModel and tcl calls

2007-03-08 Thread G.Acar
Greetings all, This is a question on MultiStateErrorModel. I see that the model's corrupt(Packet* p) function makes a tcl call for each packet. Unless I misunderstood chapter-3 of the manual, this is really supposed to slow down the simulation. Has anyone experienced slow performance wit

[ns] warning on TwoStateErrorModel

2007-03-08 Thread G.Acar
Greetings, I just wanted to warn people who intend to use TwoStateErrorModel and its derivatives. Note that the transitionState() function of this class upperbounds the duration of state_1 with 120 seconds. This is done in errmodel.cc in ns v2.30. I do not know the reason behind this uppe

[ns] mftp, where

2006-10-17 Thread G.Acar
Dear all - I've got a short question. I remember using Starburst MFTP in NS-2.28. There used to be relevant *.cc and *.tcl files for MFTP implementation. I have just instructed my student to use MFTP over NS. Yet, it seems MFTP is not available in ns-2.29.3 ! May I ask if there is a reaso