Re: [ns] IP_BROADCAST problem

2006-02-07 Thread Hajer FERJANI
Hi Dan, May be you have to specify the address type in the common header as NS_AF_NONE. struct hdr_cmn *chpk = HDR_CMN(pk); chpk->addr_type() = NS_AF_NONE; ... Bye. Ps : This is the case for wireless networks, I don't know if it is the same thing for wired ones. On 2/6/06, Dan Jurca <[EMAIL P

[ns] IP_BROADCAST problem

2006-02-06 Thread Dan Jurca
Hello, I am trying to implement some route-discovery mechanism in ns2, at the application layer. This requires me to send some broadcast packets. I set the IP destination address to IP_BROADCAST and I get the following error: