Ethernet Units Operation Manual

232
Command/Response Reference Section 11-3
Results Storage Area Response Codes
Note These errors occur only in large multilayered networks.
11-3-15 TCP RECEIVE REQUEST
Requests that data be sent from a TCP socket.
Command Block
Response Block
Results Storage
Format
Parameters
TCP Socket Number
(Command)
The TCP socket number to receive data specified as 2 bytes between 1 and 8.
Results Storage Area
(Command)
The area in which the results of the command execution are stored. The first
byte specifies the memory area and data type (variable type). The 2nd to 4th
bytes specify the beginning address of the results storage area. Refer to
Response code Description
0000 Normal
000D A parameter error occurred at the remote IP address
(EACCES).
003E Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0042 (See note.) An error occurred (EMSGSIZE).
0044 Received ICMP data (ENOPROTOOPT).
0045 Local socket closed (ECONNABORTED).
0049 Duplicated port numbers (EADDRINUSE).
004A An error occurred (ECONNREFUSED).
Passive remote is not available.
004B (See note.) A communication error occurred with the remote node
(ECONNRESET).
004C A parameter error occurred at the remote IP address (EAD-
DRNOTAVAIL).
A parameter was specified incorrectly.
An attempt was made to actively open local TCP port.
004E A parameter error occurred at the remote IP address
(ENETUNREACH). No network number in IP router table or
incorrect router setting.
0051 A parameter error occurred at the remote IP address
(EHOSTUNREACH). Incorrect router setting.
0053 A communication error occurred with the remote node
(ETIMEDOUT). No remote exists.
0081 Socket was closed during opening procedure.
1227
Command
code
Results storage
area
TCP
socket
number
Number of
reception
bytes
Timeout
value
1227
Command
code
Response
code
Received bytes
Response
code
Number of
reception
bytes
Received data