![Omron CS1W-ETN01 Operation Manuals Download Page 220](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528220.webp)
11-3
Section
Command/Response Reference
210
Results Storage Area Response Codes
Response code
Description
0000
Normal
0020
Connection to the remote socket was broken during
transmission (EPIPE).
003E
Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0042 (see note)
An error occurred (EMSGSIZE).
0044 (see note)
Received ICMP data (ENOPROTOOPT).
0045 (see note)
A communication error occurred with the remote node
(ECONNABORTED).
004B (see note)
A communication error occurred with the remote node
(ECONNRESET).
004E (see note)
A parameter error occurred at the remote IP address
(ENETUNREACH).
004F (see note)
Received ICMP data (EHOSTDOWN).
0051 (see note)
A parameter error occurred at the remote IP address
(EHOSTUNREACH).
0053 (see note)
A communication error occurred with the remote node
(ETIMEDOUT).
0081
The specified socket was closed during transmission.
Note These errors occur only in large multilayered networks.
11-3-17
TCP CLOSE REQUEST
Requests processing to close a TCP socket. Other processing being carried out
is forcibly ended and a code is recorded in the results storage area.
Command Block
14
27
Command
code
Results storage
area
TCP
socket
number
Response Block
14
27
Command
code
Response
code
Results Storage Format
Response
code
Parameters
The TCP socket number to be closed specified as 2 bytes between 1 and 8.
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 page 192 for
details about the variable types and addresses that can be specified.
Precautions
Any other processing, such as sending or receiving data, being carried out when
this close command is executed will be forcibly ended and a code will be stored
in the results storage area to indicate that this processing was forcibly ended.
TCP Socket Number
(Command)
Results Storage Area
(Command)