From d588a94de8a81b5b5f96d077c5ca5075bd40cd12 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 19 Jul 2018 09:09:53 -0600 Subject: [PATCH] Small update to some comments. --- include/nuttx/net/net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h index eed907bfc01..9a809dbfa4d 100644 --- a/include/nuttx/net/net.h +++ b/include/nuttx/net/net.h @@ -1099,6 +1099,8 @@ int psock_setsockopt(FAR struct socket *psock, int level, int option, * EBADF - The socket argument is not a valid file descriptor. * ENOTSOCK - The socket argument does not refer to a socket. * EOPNOTSUPP - The operation is not supported for this socket's protocol. + * ENOTCONN - The socket is not connected or otherwise has not had the + * peer pre-specified. * EINVAL - The socket has been shut down. * ENOBUFS - Insufficient resources were available in the system to * complete the function.