Re: UDP recvfrom


Paul Sokolovsky
 

On Wed, 13 Sep 2017 08:58:16 +0000
Vakul Garg <vakul.garg@nxp.com> wrote:

Hi

I am using UDP sockets (posix flavor) in my app.
I need to determine the incoming UDP datagram's source IP address and
port. For this, typically recvfrom() is used.

Since this call is not available, what are my options?
Indeed, it's not yet implemented. Initial patch was posted:
https://github.com/zephyrproject-rtos/zephyr/pull/1055 , but it's still
in review and needs some refactors. You can try if it applies to the
current tree and can get you going in the meantime.

Anticipating a further question, getaddrinfo() is also not yet
available, I hope to post a patch for it today-tomorrow.


Can someone please advise?

Regards,
Vakul


--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

Join users@lists.zephyrproject.org to automatically receive all group messages.