one simple way is to write a small command for the class Agent that will return the packet type. cheers debo On Wed, 7 Feb 2001, sameer wrote: > If i want to check the packet type(whether udp or tcp) whithin my tcl > script(to perform certain operation) can i do that... > if yes then what variable i have to check ??? > > thanks > > sameer > >