FreeRTOS:
Platform
Platform portability layer
|
Return to main page ↑ |
Block and wait for incoming network data.
Wait for a message of size bytesRequested
to arrive on the network and place it in pBuffer
.
[in] | pConnection | The connection to wait on, defined by the network stack. |
[out] | pBuffer | Where to place the incoming network data. This buffer must be at least bytesRequested in size. |
[in] | bytesRequested | How many bytes to wait for. pBuffer must be at least this size. |
bytesRequested
when successful. Any other value may indicate an error.