1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
HTTP Model based on empirical data
Contributed by Giao Nguyen, http://daedalus.cs.berkeley.edu/~gnguyen
data/Http*.cdf: empirical data files provided by Bruce Mah
http.tcl: class Http implements an HTTP connection
Creation in ns: new Http $ns $client $server
http-ex.tcl: an example that use Http module
Command line: ns http-ex.tcl -maxConn 4
-----------------------------------------------------------------------------
Older HTTP examples (not using the above module)
http-single.tcl and http-mult.tcl were contributed to VINT
by Curtis Villamizar.
Sample commands to run them:
ns http-single.tcl -window 8 -maxflow 4 -maxinline 4
ns http-mult.tcl -seed 1 -persist -tail -window 8 -netqueue 40 -maxflow 4 -maxinline 4 -bkgproxy -bkg-flows 10 -clickers 2
Http-mult currently goes into an infinite loop if -clickers is
greater than 2. This is clearly a bug.
These programs require patches to ns-2.0a17 commited 23-May-97.
-johnh
|