[ns] how to stop web

Kerilyn O'Donnell k_ann30 at comcast.net
Sun May 16 22:55:46 PDT 2004


Hopefully this doesn't go through twice - it says it was rejected the first time.  Anyhow, I currently use the following code to start a web server/cache/client situation:

$ns at 0 "start-connection0"



proc start-connection0 {} { 

global ns WServer0 WCache0 WClient0

$WClient0 connect $WCache0

$WCache0 connect $WServer0

$WClient0 start-session $WCache0 $WServer0

}



I can't figure out how to stop the session in the same manner.  Does anyone know?



thanks,
Kerilyn


More information about the Ns-users mailing list