Ethernet Units Operation Manual

119
Using Socket Services with Socket Service Request Switches Section 6-2
UDP Socket Close Request
TCP Socket Passive Open Request
110C Request Switch turned ON during other processing.
220F Specified socket is already processing a send request.
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.
003E Internal buffer cannot be obtained due to high reception traffic
(ENOBUFS).
0042 The remote IP address is a broadcast address and the number of
bytes to send is greater than 1,472 bytes (EMSGSIZE).
004C The network ID is incorrect or the remote IP address is incorrect
(EADDRNOTAVAIL)
004E The network ID is not in the IP router table, router settings are incor-
rect, or the remote IP address is incorrect (ENETUNREACH).
0051 The router settings are incorrect or the remote IP address is incor-
rect (EHOSTUNREACH).
0081 The specified socket was closed during send processing.
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.
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).
Response
code
Meaning