[ns] How to send a wireless broadcast?
Yusupha Touray
ytouray@yahoo.ca
Fri Apr 26 07:55:01 2002
Hello Mani,
Thanks for you help. But my problem is slightly
different. I can get base stations to send broadcast
packets alright. The trouble is that mobile nodes
cannot receive the broadcast packet even when they are
in range of the base station. I don't know why.
The destination of the broadcast packet is
IP_BROADCAST and the destination port is set to the
port that the mobile node agent is listening on.
Anyone know why this may be?
Yusupha
--- mani srinivas potnuru <potnuru@students.uiuc.edu>
wrote:
>
>
> Just thought my recent experience abt this may be
> helpful to you.
> I wanted to do a Wireless Broadcast (i didnt need a
> IP_Broadcast)of my
> application's packet. But my scenario is in ad-hoc
> networks.
>
> At first i tried to handover my application packet
> directly to the link
> layer. By just changing the LL::recv() and bypassing
> the IP layer almost
> seemed easy, but i wasnt successful at the end.
>
> Then i tried going thru the IP, but setting the
> field to 1. I didnt
> realise that DSR code resets the TTL to 255 when i
> say IP_BROADCAST.
> A hack from UCLA's sensorsim is use a application
> level TTL and check that
> in "dsragent.cc" and stoping the flooding. This is
> how finally did it.
>
>
> I am sure there will be some cleaner way of doing
> this.
> u dont need to do anything with target_. Any agent
> can access that.
>
> I hope i made sense.
>
> -Mani
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "It is better to keep your mouth shut and appear
> stupid than to open it and remove all doubt."
> --Mark Twain
>
> "Today is a gift, that's why it is called the
> PRESENT."
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mani S Potnuru
> Research Assistant,
> Parallel Programming Lab,
> Dept. of Comp Sci,
> UIUC.
> Ph (O) : 217-333-5827 (H) 217-398-8545
>
>
> On Fri, 26 Apr 2002, Yusupha Touray wrote:
>
> >
> > Hi,
> >
> > Sorry if I appear to be asking such a naive
> question,
> > but when a base station is sending a broadcast
> packet
> > from its wireless interface to mobile nodes, what
> > should target_ be set to and how does one go about
> > getting target_?
> >
> > I have been trying to figure this out for the past
> > couple of days but haven't made any head way.
> >
> > Thanks in advance.
> >
> > Yusupha
> >
> >
> >
> >
>
______________________________________________________________________
> > Only a few days left to file!
> http://taxes.yahoo.ca
> >
>
______________________________________________________________________
Only a few days left to file! http://taxes.yahoo.ca