lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Loopback problems


From: Fabian Koch
Subject: Re: [lwip-users] Loopback problems
Date: Tue, 4 Aug 2009 15:08:11 +0200


address@hidden 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
reply via email to

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