This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Sending network broadast packet.


On Wed, 2001-09-26 at 07:45, Mervyn Wongso wrote:
> I'm trying to send a packet with the destination IP address 255.255.255.255
> but the IP stack keeps altering the destionation address to the subnet
> broadcast address. But, when I set the interface's broadcast address to
> 255.255.255.255, I get EHOSTUNREACH error when I call sendto().
> 
> Any help will be appreciated.
> 

Look at the BOOTP or DHCP code - these routines use broadcast and work 
fine.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]