The following table shows the error codes that occur during communication
procedures.
Table F-2 Communication procedure error code list
Communication
procedure
■
ACCEPT
ENOBUFS
EBADF
EWOULDBLOCK
EOPNOTSUPP
EPROTO
EN_BIND
■
EBADF
EFAULT
EAFNOSUPPORT
EADDRINUSE
EADDRNOTAVAIL
CLOSE
■
EBADF
CONNECT
■
EHOSTUNREACH
ETIMEDOUT
EBADF
EINVAL
EDESTADDRREQ
EAFNOSUPPORT
EADDRNOTAVAIL
EISCONN
■
LISTEN
EBADF
EINVAL
EOPNOTSUPP
RECV
■
■
RECVFROM
ETIMEDOUT
ECONNABORTED
EBADF
EFAULT
EWOULDBLOCK
EPIPE
EOPNOTSUPP
Return
value
-15
Insufficient resource
-16
Not a valid socket identifier
Socket is set to asymmetric I/O mode, and nothing
-18
is waiting for connection
-56
The specified socket is not SOCK_STREAM type
-71
Protocol error
-16
Not a valid socket identifier
The argument (addr or addrlen) is not in the valid
-17
range of the user's address space
The specified address family is currently not
-58
supported
-59
The provided address has been used
-60
The provided address cannot be used by this system
-16
Not a valid socket identifier
-11
IP address of the target is invalid
Timeout.
Connection does not complete after a
-12
certain period of time
-16
Not a valid socket identifier
-22
Already bound
-50
The argument (name, namelen) is invalid
The specified address family is currently not
-58
supported
-60
The provided address cannot be used by this system
-67
The socket has already been connected
-16
Not a valid socket identifier
-22
Invalid parameter
-56
The socket type does not support listen
-12
Timeout
-14
Connection was disconnected on the local system
-16
Not a valid socket identifier
-17
Argument (buffer pointer) pointer is invalid
-18
No data to receive
-32
The connection has been disconnected
The specified operation is not supported by the
-56
socket
Unified Controller nv series Ethernet (FN812) Module Operation Manual
Description
79