|Hint: Use the tree menu to navigate groups of related pages|
Receiving UDP Data (standard interface)
TCP/IP stack API function is used to receive from a UDP socket.
Data can only be received after the
socket has been
created, configured, and
bound to a local port number.
Part of the FreeRTOS+TCP Networking Tutorial
As detailed on the FreeRTOS_recvfrom() API reference page, FreeRTOS_recvfrom() can be used with standard calling semantics, or zero copy calling semantics. This page demonstrates the standard calling semantics.
The source code below shows a RTOS task that creates a socket before entering a loop that receives data using the standard (as opposed to zero copy) calling semantics.