I have never used it but I think that Packmime-http could be useful for you:
http://ns-2.blogspot.com/2007/05/web-traffic-generation-in-ns-2-with.html The original link is not working but you can use the google cache: http://216.239.59.104/search?q=cache:2DxyFk3Ho-YJ:dirt.cs.unc.edu/packmime/+ns2+packmime&hl=en&ct=clnk&cd=1 Hope it helps, -as P.D. For examples check /opt/ns-allinone-2.31/ns-2.31/tcl/ex/packmime/ (or whatever path you have for your install) On 16 Jul 2008, at 19:35, Levent Kurt wrote: > > Hi there, > > I have a project to do in NS I found so many working examples on how > to produce FTP or CBR, but I couldn't found any "simple" way to > produce 5 HTTP packets from one location to another. I'm completely > overloaded with other project at school and unfortunately don't have > time to go too deep in information to produce 5 simple HTTP packets > and show them in NAM :( > > All help will be appreciated, thanks from now. >