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.


Thanks for you reply.

I've already looked at BOOTP and DHCP code. I can only send out
255.255.255.255 broadcast packet only if my IP address is 0.0.0.0 and
subnetmask 0.0.0.0. Once the IP address and subnetmask are changed with the
actual network IP address and subnetmask, I can't transmit 255.255.255.255
broadcast packet anymore.

For your information, I'm trying to implement a BOOTP server.

Thanks.


----- Original Message -----
From: "Gary Thomas" <gthomas@redhat.com>
To: "Mervyn Wongso" <intertel_ecos@hotmail.com>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Sent: Tuesday, September 25, 2001 4:06 PM
Subject: Re: [ECOS] 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]