One option is to use message passing with destination address -1 for broadcasting. I think there is an example Otcl script somewhere in ns/tcl/ex where message passing is extended for flooding. I hope that helps.
Scott On 2/3/07, Amin Irandoost <[EMAIL PROTECTED]> wrote: > > Hi > Please tell me : > In NS, how can a mobile node broadcast its address in sensor network? > Please, send to me a sample code for doing this task. > I test too many ways but i don't get a reliable result > > thanks a lot in advance > I'm waiting for your reply IMPATIENTLY > > > > -- > Amin Irandoost >