Omron CS1W-ETN21 User Manual

Page 253

Advertising
background image

228

Results Storage Area Response Codes

Section 8-6

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
attempted 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 (desti-
nation 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
already 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, checking
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 router
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 desig-
nated IP network segment. Check the commu-
nications path.

0053

ETIMEDOUT

Connection timed out (TCP timed
out)

Check the remote host and communications
path.

0063

ESELABORT

Used for internal Ethernet Unit pro-
cessing

Close the local socket and try reopening it.

0066

(None)

Internal memory cannot be allocated
for processing; the service cannot
be provided.

Traffic is too high at the Ethernet Unit. Correct
the user application to reduce traffic at the
Ethernet Unit.

0080

(None)

Timed out for passive TCP open
request

Either the remote node is not executing an
active TCP open or there is a block on the net-
work.

Response

code

UNIX error

message

Description

Probable remedy

Advertising