hello all, I am using ns2.33 version of ns. I am using following commands to change the packet flow color $ns color 1 Red $tcp0 set class_ 1 but with this their is no change of packet flow color. even I have tried instead of class fid also but stll it is not working.
and other commands like $node4 color blue - this is not giving any execution error but their is no change of node colour $ns at 0.0 "$node0 color red" gives the following error--- num_nodes is set 6 INITIALIZE THE LIST xListHead Starting Simulation... ns: _o14 color red: can't read "attr_(COLOR)": no such element in array while executing "eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S COLOR -c $color -o $attr_(COLOR) -i $color -I $attr_(LCOLOR)"" invoked from within "if [$ns is-started] { $ns puts-nam-config [eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S COLOR -c $color -o $attr_(COLOR) -i $color -I $attr..." (procedure "_o14" line 6) (Node color line 6) invoked from within "_o14 color red" can any one help me out. regards, Preeti khanwalkar