Sunday, April 1, 2012

Re: [ns] From where Connector::drop_ is initialized .?

Hi Pathik,

If you'd like to learn about packet forwarding mechanism in NS2, please read

http://www.ns2ultimate.com/post/9620995373/packet-forwarding-mechanism-in-ns2-main-post

You will find the answer you need in the final post of this series.

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat


On Mar 31, 2012, at 12:16 PM, Pathik Shah wrote:

>
> Dear all,
>
> We know in function Connector::drop(Packet* p, const char *s), if
> *drop_* iszero then it will pass the packet to the object using
> *drop_*->recv(p,s).
> I want to know *where* and *when* it was *initialized*?
>
> Hoping for the best help asap.
>
> *p.s.* : It is clear to me that when we set up a simple simulation, we do
> not write for the initialization of the drop_. Although it is initialized.
> So I am asking about the insight.
>
> -- Pathik Shah
>

No comments:

Post a Comment

Counter

blogger analytics