Real time embedded FreeRTOS RSS feed 
Homepage FreeRTOS+ Products FreeRTOS Labs Integration Services Contact / Enquiries


Simple UDP Client and Server Examples
FreeRTOS+TCP and FreeRTOS+FAT Examples

Not all demo projects will include this example. If this example is included in a demo project then it may be necessary to set mainCREATE_SIMPLE_UDP_CLIENT_SERVER_TASKS to 1 at the top of the project's main.c source file to include the example in the build.

The example creates two UDP client RTOS tasks and two UDP server RTOS tasks. The clients communicate with the servers. One set of RTOS tasks use the standard sockets interface, and the other RTOS tasks use the zero copy sockets interface.

These RTOS tasks are self checking and will trigger a configASSERT() failure if they detect a difference in the data that is received from that which was sent. As these RTOS tasks use UDP, which can legitimately loose packets, they can cause configASSERT() failures if they are executed in a less than perfect networking environment.


[ Back to the top ]    [ About FreeRTOS ]    [ FreeRTOS Labs Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.