Ethernet Units Operation Manual

118
Using Socket Services with Socket Service Request Switches Section 6-2
lowing response codes will be stored depending on the service that was
requested.
UDP Socket Open Request
UDP Socket Receive Request
UDP Socket Send Request
Response
code
Meaning
0000 Normal end
0105 Local IP address setting error.
0302 CPU Unit error; cannot execute.
1100 UDP socket number is not 1 to 8 or local UDP port number is 0.
110C Request Switch turned ON during other processing.
220F Specified socket is already open.
2211 Unit is busy; cannot execute.
2606 Specified socket is already open as TCP socket; cannot open UDP
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).
0049 The same UDP port number has been specified more than once
(EADDRINUSE).
0081 The specified socket was closed during open processing.
Response
code
Meaning
0000 Normal end
0302 CPU Unit error; cannot execute.
1100 Number of bytes to receive is not in allowable range.
1101 The area designation of the Send/Receive Data Address is not in
allowable range.
1103 The bit number in the Send/Receive Data Address is not 00.
110C Request Switch turned ON during other processing.
220F Specified socket is already processing a receive 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).
0066 Internal memory cannot be obtained; cannot execute.
0080 Reception request timeout
0081 The specified socket was closed during receive processing.
Response
code
Meaning
0000 Normal end
0302 CPU Unit error; cannot execute.
1100 Number of bytes to send is not in allowable range or the remote IP
address is 0.
1101 The area designation of the Send/Receive Data Address is not in
allowable range.
1103 The bit number in the Send/Receive Data Address is not 00.