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

[ns] Queue size problem.




Dear ns users,

I am trying to get the instantaneous size of a queue, I tried this:

set q [[$ns link $n1 $n2] queue]
set qsize [$q set size_]

but I got the error message: can't read "size": no such variable.

Can someone help me find the instantaneous queue size.

Thanks alot.

Hassan.