10-7SectionResults Storage Area Response Codes
187
Response
code
Probable remedyDescriptionUNIX error
message
000E EFAULT Bad address (copy failed between
kernel and user area)
Close the local socket and try reopening it.
0011 EEXIST File exists
0016 EINVAL Invalid argument (socket library ar-
gument error)
0018 EMFILE Too many open files (More than 32
sockets)
0020 EPIPE Broken pipe (remote node closed
socket)
Close the local socket.
003C EPROTONO-
SUPPORT
Protocol not supported (protocol
other than UDP, TCP, or RAW spe-
cified)
Close the local socket and try reopening it.
003D EPROTOTYPE Protocol wrong type for socket
003E ENOBUFS No buffer space available There is too much load (traffic) on the Ethernet
Unit. Check your user applications.
003F EISCONN Socket is already connected (con-
nection attempted to open socket)
Close the local socket and try reopening it.
0040 ENOTCONN Socket is not connected (send at-
tempted to closed socket)
0041 EALREADY Operation already in progress (con-
nection attempted to existing non-
block connection)
0042 EMSGSIZE Message too long Check the length of send data.
UDP or TCP: 1 to 1,982 bytes
UDP broadcasts: 1 to 1,472 bytes
0043 EDESTADDRREQ Destination address required (des-
tination address not specified)
Close the local socket and try reopening it.
0044 ENOPROTOOPT Protocol not available (unsupported
option specified)
0045 ECONNABORTED Software caused connection abort
(another task closed socket)
0046 EINPROGRESS Operation now in progress (non-
block connection ended during pro-
cessing)
0047 ENOTSOCK Socket operation on non-socket
0048 EOPNOTSUPP Operation not supported on socket
0049 EADDRINUSE Address already in use (UDP or
TCP open request sent for port al-
ready in use)
Check the port number.
TCP ports can remain unusable for 1 min after
closing.
004A ECONNREFUSED Connection refused (TCP socket
(active open) processing refused by
remote node)
Passively open a remote TCP socket, check-
ing the remote IP address and remote TCP
port number.
004B ECONNRESET Connection reset by peer (TCP
socket closed by remote node)
Close the local socket and try reconnecting.
004C EADDRNOTAVAIL Can’t assign requested address
(mistake in remote IP address)
Check the setting of the remote IP address
and try reconnecting.
004D EAFNOSUPPORT Address family not supported by
protocol family
Close the local socket and try reopening it.
004E ENETUNREACH Network is unreachable Set the path to the remote node in the IP rout-
er table.
004F EHOSTDOWN Host is down Check the remote host and communications
path.
0050 EWOULDBLOCK Operation would block Close the local socket and try reopening it.
0051 EHOSTUNREACH No route to host The specified node does not exist on the des-
ignated IP network segment. Check the com-
munications path.