From fdacfae6e4fc6737d32c12bbb3c4fe36cbce84c9 Mon Sep 17 00:00:00 2001
From: patacongo User's Manual by Gregory Nutt
- Last Updated: December 5, 2011 Last Updated: February 18, 2011NuttX Operating System
Returned Values:
- see recvfrom()
.
- Zero on success.
+ See recvfrom()
.
recvfrom
Returned Values:
On success, returns the number of characters sent.
- On error, -1 is returned, and errno
is set appropriately:
+ If no data is available to be received and the peer has performed an orderly shutdown, recv() will return 0.
+ Othwerwise, on errors, -1 is returned, and errno
is set appropriately:
EAGAIN
.