[ns] Broadcasting messages in ns2

fhg07@c3sl.ufpr.br fhg07 at c3sl.ufpr.br
Thu Aug 21 08:58:20 PDT 2008


Can it be done like:
cmh->next_hop() = IP_BROADCAST; ?
Whats the difference between cmh and ih headers?

I've seen this on some codes that I've found.

Fernando.
> Hello Fernando
>
> You should use IP_BROADCAST in the ip header
>
> ih->daddr() = IP_BROADCAST;
>
>
> Hope it helps
>
> --
> Mubashir Husain Rehmani
>
> Mobile : 00 33 (0)6 32 00 89 35
>




More information about the Ns-users mailing list