summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/net
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-11 08:15:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-11 08:15:23 -0600
commitea06ccf99b5d9fb74f1c57f9a6cbc42758f55442 (patch)
treef710f98791aeeb1a227a85b6d85c60a7b4edcb44 /nuttx/include/nuttx/net
parent4be643e96853f9c88983cbfcf63bccb24f43b7fe (diff)
downloadnuttx-ea06ccf99b5d9fb74f1c57f9a6cbc42758f55442.tar.gz
nuttx-ea06ccf99b5d9fb74f1c57f9a6cbc42758f55442.tar.bz2
nuttx-ea06ccf99b5d9fb74f1c57f9a6cbc42758f55442.zip
AIO now also supports socket transfers
Diffstat (limited to 'nuttx/include/nuttx/net')
-rw-r--r--nuttx/include/nuttx/net/net.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/net/net.h b/nuttx/include/nuttx/net/net.h
index f2cf839b3..23558b427 100644
--- a/nuttx/include/nuttx/net/net.h
+++ b/nuttx/include/nuttx/net/net.h
@@ -302,16 +302,17 @@ void net_initlist(FAR struct socketlist *list);
void net_releaselist(FAR struct socketlist *list);
/****************************************************************************
- * Name: sockfd_release
+ * Name: sockfd_socket
*
* Description:
- * Free the socket by its socket descriptor.
+ * Given a socket descriptor, return the underlying socket structure.
*
* Input Parameters:
- * sockfd - Socket descriptor identifies the socket to be released.
+ * sockfd - The socket descriptor index o use.
*
* Returned Value:
- * None
+ * On success, a reference to the socket structure associated with the
+ * the socket descriptor is returned. NULL is returned on any failure.
*
****************************************************************************/