Hi ns_users

I am doing rsvp simulation in  NS2.  Now  I'm reading the example script file 
in the rsvp/ns zip-file distributed for ns-2.1b8. In file "example2.tcl", there 
are some statements like this: 

# Send PATH-messages from each sender-node 
$ns at 1.0 "$rsvp0 sender $ses1 +500000 5000 32" 
$ns at 3.0 "$rsvp0 sender $ses2 +500000 5000 32" 
$ns at 5.0 "$rsvp0 sender $ses3 +500000 5000 32" 
 
 
# Reserve 0,8Mb/s for flow going to node 4. Notice that session id have 
# to be zero! 
$ns at 30.0 "$rsvp4 reserve 0 ff +800000 100000 $n0" 

My question is, when $rsvp4 reserve some resources for node 4, why the session 
id should be 0, but not other value like $ses3?? 

Best regards, thanks in advance.

Yours,
Andy

Reply via email to