[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] unable to understand tcl code



hi

Thanx for all who replied to my question.your mail has
helped me a lot.I would like to thank sridharan ,
balasubramaniam , Alberto and Brian lee Bowers.please
take some time off to answer this basic question of
mine

Heres another question

iam unable to understand the following piece of code .
i searched for the material in the ns manual.please
tell as to where i can get this info.

set tcp($i) [new Agent/TCP/Int]
#	set tcp($i) [new Agent/TCP]
	$tcp($i) set cls [expr $i+1]
	$tcp($i) set rightEdge 0
	$tcp($i) set shift_ 8
	$tcp($i) set mask_ 0x000000ff
	$tcp($i) set uniqTS_ 1
	$tcp($i) set winMult_ 0.5
	$tcp($i) set winInc_ 1

Thanx in advance
swetha




__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/