hi to all.. here i have to start the traffic on a condition from classifier.cc recv function as shows below.. the time also i cant expect...
void Classifier::recv(Packet* p, Handler*h)
{
if ((node-id==_o27) && (ready==1))
{
if the condition satisfies i have to start the traffic; but for the
command in tcl ($ns at <time> " $cbr1 start" )
here i don't know the time.. i have to start traffic if the condition
satisfies. and stop the traffic after 200milliseconds
}
please help me regarding this...
