[ns] http traffic generator problem
Sat, 03 Feb 2001 10:58:26 +0100
Zsuzsa Fey wrote:
> Did anyone try to run Telnet with the http traffic generator
> available from the contributed modules?
Not Telnet, just the http traffic simulator.
> When I run the test script available in that module, using Telnet
> instead of FTP (as it is in the test), I get the following error:
> Client _o35 sleeps (think time) until 6.494
> Client _o35 request packet of length 210 at time 6.494
> ns: _o37 done: can't read "callback_": no such variable
> while executing
> "$callback_ timeout $self"
> (procedure "_o37" line 3)
> (Agent/TCP done line 3)
> invoked from within
> "_o37 done"
> Do you have some idea what could be the problem?
I had the same problem. I needed a high number of TCP connections (almost
8 for every sink node, a total of 640 TCP flows on the average), but when
I ran the sim It crashed randomly giving as a result the same output. I
figured out that the problem is Otcl himself, as I cleared out FTP for a
raw TCP Newreno implementation. Now it's working very good.
I suggest you to read the Telent code and insert the methods you need
direcly into the HttpModel.tcl implementation.