[email protected] wrote on 04.08.2009 
14:54:29:

> No, you're not wrong. Of course the function is not usable from the 
> netconn thread. However, my proposal is not much different to yours:
> having a flag UDP_FLAGS_IS_BROADCAST in the PCB won't help you, 
> either, since that flag is not added to the netbuf but only stored 
> in the PCB: it might get deleted by the time you received the netbuf...
> 
> Therefore, I thought you'd be using the raw API...

Yes, but I do have the pcb in that layer. I have the netconn, so I just go 
conn->pcb.udp->flags and look for the new broadcast flag. In the tests 
this worked as intended, but might be coincidence.

Any ideas how I can achieve my goal?

regards,
Fabian
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to