[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Sending UDP packets to 255.255.255.255
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Sending UDP packets to 255.255.255.255 |
Date: |
Mon, 10 Aug 2009 10:42:28 +0200 |
lwIP is very limited in routing. Currently, it can only send one packet on one
interface. I guess the current 'routing' mechanism will return the default
netif as target of a packet with broadcast address.
Simon
-------- Original-Nachricht --------
> Datum: Mon, 10 Aug 2009 12:55:33 +0530
> Von: Mandeep Sandhu <address@hidden>
> An: Mailing list for lwIP users <address@hidden>
> Betreff: [lwip-users] Sending UDP packets to 255.255.255.255
> Hi All,
>
> Can I send UDP packets to the IP broadcast address 255.255.255.255?
> I'm implementing
> a tiny DHCP server and all DHCP respone's need to go out to the
> broadcast IP addr.
>
> I'm currently using the BSD stack with ECOS, but having issues in
> sending the packet out
> as it gets dropped during a route lookup (i've tried with the
> MSG_DONTROUTE option too
> without success).
>
> How does lwIP handle sending of broadcast IP frames? I guess it should
> go out of all available
> interfaces if they are UP and have the relevant 'broadcast' flags set.
>
> Or do we have to add a broadcast specific route entry to make this happen?
>
> Thanks,
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser