Hi,

Within a FreeRTOS task I'm trying to send out UDP packets to a server
periodically. I would like to receive the replies in the same task.
Currently I am a bit confused about the different ways to handle this.
Basically I tried to use the netconn API and compared some examples I found
on the internet and in the lwIP documentation. E.g. do I have to register a
UDP callback method for the PCB which probably belongs to the raw API? What
are the (dis)advantages of netconn_recv? Can someone provide me a simple but
functional example using the netconn API for receiving/sending UDP
datagrams? Would be nice if it showed the order how to setup UDP
communication properly (even better if it's in context of a FreeRTOS task).

Would be grateful for your help.
Best Regards,
Mathias




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

Reply via email to