If no bytes are received before the configured block time expires then FREERTOS_EWOULDBLOCK is returned.
If the socket is not bound to a port number then FREERTOS_EINVAL is returned.
If data is successfully received then the number of bytes received is returned.
The first example receives from a socket using the standard calling semantics (see below for another example that uses the zero copy calling semantics). The socket is passed in as the function parameter, and is assumed to have already been created using a call to FreeRTOS_socket(), and bound to an address using a call to FreeRTOS_bind()
[ Back to the top ] [ About FreeRTOS ] [ Privacy ] [ FreeRTOS+ Sitemap ] [ Main FreeRTOS Sitemap ] [ ]
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.