This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

RE: limited broadcast IP


Hi Andrew,
I would like to send a broadcast UDP packet (dest mac ff:ff:ff:ff:ff:ff)
that also has a destination IP adress of 255.255.255.255 out an existing
(configured)interface.  This seems like it should be simple but the best
that I've been able to get is a packet with 10.255.255.255 in the dest IP
field which I presume is a network broadcast. Most of the failed attempts
produce the ENETUNREACH or EHOSTUNREACH errors when I set the s_addr field
(sockaddr_in)to INADDR_BROADCAST.

Thanks for responding,
Dan

-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Thursday, February 23, 2006 1:49 AM
To: paape@hi-techniques.com
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] limited broadcast IP


On Wed, Feb 22, 2006 at 04:33:41PM -0600, paape@Hi-Techniques.com wrote:
> Hello,
> I am wondering if there is a simple way to get the eCos BSD stack (ver
2.1)
> to send a limited broadcast IP.

Could you explain what you mean by limited broadcast IP?

        Thanks
                Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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