Results Storage Area Response Codes

 

Section 8-6

 

 

 

 

 

Response

UNIX error

Description

 

Probable remedy

code

message

 

 

 

 

 

 

 

003F

EISCONN

Socket is already connected (con-

Close the local socket and try reopening it.

 

 

nection attempted to open socket)

 

 

 

 

 

 

 

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-

Close the local socket and try reopening it.

 

 

nation address not specified)

 

 

 

 

 

 

 

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

Check the port number.

 

 

TCP open request sent for port

TCP ports can remain unusable for 1 min after

 

 

already in use)

 

 

closing.

 

 

 

 

 

 

 

 

 

004A

ECONNREFUSED

Connection refused (TCP socket

Passively open a remote TCP socket, checking

 

 

(active open) processing refused by

the remote IP address and remote TCP port

 

 

remote node)

number.

 

 

 

 

 

004B

ECONNRESET

Connection reset by peer (TCP

Close the local socket and try reconnecting.

 

 

socket closed by remote node)

 

 

 

 

 

 

004C

EADDRNOTAVAIL

Can’t assign requested address

Check the setting of the remote IP address and

 

 

(mistake in remote IP address)

try reconnecting.

 

 

 

 

004D

EAFNOSUPPORT

Address family not supported by

Close the local socket and try reopening it.

 

 

protocol family

 

 

 

 

 

 

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

Check the remote host and communications

 

 

out)

path.

 

 

 

 

 

0063

ESELABORT

Used for internal Ethernet Unit pro-

Close the local socket and try reopening it.

 

 

cessing

 

 

 

 

 

 

0066

(None)

Internal memory cannot be allocated

Traffic is too high at the Ethernet Unit. Correct

 

 

for processing; the service cannot

the user application to reduce traffic at the

 

 

be provided.

Ethernet Unit.

 

 

 

 

 

0080

(None)

Timed out for passive TCP open

Either the remote node is not executing an

 

 

request

active TCP open or there is a block on the net-

 

 

 

work.

 

 

 

 

 

 

228

Page 253
Image 253
Omron CS1W-ETN21 Eisconn, Enotconn, Ealready, Emsgsize, Edestaddrreq, Enoprotoopt, Einprogress, Enotsock, Eopnotsupp