|
|||||||||||||||||
If no bytes are received before the configured block time expires then -pdFREERTOS_ERRNO_EWOULDBLOCK is returned. If the socket is not bound to a port number then -pdFREERTOS_ERRNO_EINVAL is returned. If the socket received a signal, causing the read operation to be aborted, then -pdFREERTOS_ERRNO_EINTR is returned. If data is successfully received then the number of bytes received is returned. Example usage: 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 Labs Sitemap ]
[ Main FreeRTOS Sitemap ]
[
]
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|