[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] neighbor list in wireless scenario and broadcast to neightbor
Look into the wireless protocols, like AODV in the
neighbor management sections and you shall find the
answers...
Ahmad
--- Chih-Fan Hsin <chsin@engin.umich.edu> wrote:
> Hi,
>
> In node.cc, there is a neighbor list variable. I
> wonders if that list is
> maitained based on the transmission range in a
> wireless scenario.
>
> Basically, I want to get all the neighbors of one
> node. Then, I want my
> new agent to send a packet to all the
> neighbors.(Basestation broadcast)
>
> In connector.h, the "send" function is to call the
> "recv" function of the
> target. The target is a NsObject class.
> Therefore, in my new agent, I want to get all the
> neighbor nodes in the
> form of NsObject class. Then, in the "send" function
> of my new agent, I can
> call the "recv" function of all the neighbor nodes.
>
> However, I am not sure how to get all the neighbor
> nodes in the form of
> NsObject class.
> Could anyone please help me?
>
> Charles
>
>
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com