lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] UDP broadcast not working - Socket API


From: Kieran Mansley
Subject: Re: [lwip-users] UDP broadcast not working - Socket API
Date: Fri, 19 Jun 2009 15:10:42 +0100

On Fri, 2009-06-19 at 15:50 +0200, Daniel Berenguer wrote:
> Thanks Kieran for your reply.
> 
> I'm using lwIP 1.3.0 and I successfully built and ran the demo that
> came with FreeRTOS, a basic http server. I can now display a simple
> web page through lwIP.

Would be interesting to see if a simple UDP unicast app worked.  i.e. Is
it UDP that isn't working, or broadcast that isn't working, or something
else...

> this is my complete lwipopts.h code:

Looks OK to me.

There was a bug concerning UDP broadcast recently:

[bug #26309] Implement SOF_BROADCAST
https://savannah.nongnu.org/bugs/?26309

but I think that was to do with receiving UDP broadcast frames rather
than sending them.

It might also be worth contacting the authors of the example you're
using to see if there is anything special that is required to get it to
work.

Do you have any kind of debugging tools available on your lwIP device?
The quickest way to get a solution to your problem would be to trace
through the stack and see how far your packet gets.  Once we know where
it is dropped, the solution should be much easier.

Kieran






reply via email to

[Prev in Thread] Current Thread [Next in Thread]