![background image](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528112.webp)
6-2
Section
Using Socket Services with Socket Service Request Switches
100
UDP Socket Close Request
Response
code
Meaning
0000
Normal end
0302
CPU Unit error; cannot execute.
2210
The specified socket is not open.
2211
Unit is busy; cannot execute.
2607
Specified Socket Service Parameter Area is already being used
for another socket.
TCP Socket Passive Open Request
Response
code
Meaning
0000
Normal end
0105
Local IP address setting error.
0302
CPU Unit error; cannot execute.
1100
TCP socket number is not 1 to 8 or local TCP port number is 0.
110C
Request Switch turned ON during other processing.
220F
Specified socket is already open or already processing an open
request.
2211
Unit is busy; cannot execute.
2606
Specified socket is already open as UDP socket; cannot open
TCP socket.
2607
Specified Socket Service Parameter Area is already being used
for another socket.
003E
Internal buffer cannot be obtained due to high reception traffic
(ENOBUFS).
0042
(See note.)
The remote IP address is a broadcast address and the number of
bytes to send is greater than 1,472 bytes (EMSGSIZE).
0045
Error in communications with remote node (ECONNABORTED).
0049
The same TCP port number has been specified more than once
(EADDRINUSE).
004A
(See note.)
Error (ECONNREFUSED).
004B
(See note.)
Error in communications with remote node (ECONNRESET).
004E
(See note.)
Remote IP address parameter error (ENETUNREACH).
0051
(See note.)
Remote IP address parameter error (EHOSTUNREACH).
0053
Error in communications with remote node (ETIMEDOUT) or
remote node does not exist.
0066
Internal memory cannot be obtained; cannot execute.
0080
Open request timed out.
0081
The specified socket was closed during open processing.
0082
Connection could not be established with specified remote node.
Note These response codes will be returned only on large, multilevel networks.
TCP Socket Active Open Request
Response
code
Meaning
0000
Normal end
0105
Local IP address setting error.
0302
CPU Unit error; cannot execute.
1100
TCP socket number is not 1 to 8 or local TCP port number is 0.