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

Re: [Q] Using new color in nam



packet color is decided by its "flag" or flow id. If you are using tcp
agent, it can be set via the variable fid_ from otcl. Then you can use
$ns color to map that id to a particular color.

- Haobo

On Mon, 15 Nov 1999, Yun-Hee, Lee wrote:

> Hello.
> Let me ask you a simple question..
> I included another kind of data stream from the source to multicast
> receivers.
> And I'd like to give it a different color from the original data color.
> What can I do?
> 
> I choose 'orange' for data source.
> 0 is decided for data source in advance??
> Then, where is it defined?
> 
> $ns color 0  orange  ;# data source
> 
> Thanks in advance..
>