Dear All,

Hi,



I am using NS2. In sendpkt() method of CBR_Agent, it calls
 target_->recv();

As target_ is defined in Connector class as pointer to NsObject class.
I follow NSobject and Connector classes .
I found :
Connector::recv(...){
       send(p,h);
}


and 
Connector::send(...){
      target_->recv(p,h);

}

If I am right, It shows some kind of infinite recursion.  I am confused
 to find any  answer.

It is kind of you if help me to find the right scenario if I am wrong.


best regard
Amin



____________________________
  Seyed Amin Hosseini,
  Computer PhD student,
Network Research Group (NRG) (http://nrg.cs.usm.my),
School of Computer Sciences (http://www.cs.usm.my),
University Science Malaysia (http://www.usm.my),
Penang - Malaysia,
Mobile: +60 16 438 9352
  ____________________________

       
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

Reply via email to