Tcp Close Request - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

Command/Response Reference

11-3-17 TCP CLOSE REQUEST

Command Block
Response Block
Results Storage
Format
Parameters
TCP Socket Number
(Command)
Results Storage Area
(Command)
Precautions
Response code
003E
0042 (See note.)
0044 (See note.)
0045 (See note.)
004B (See note.)
004E (See note.)
004F (See note.)
0051 (See note.)
0053 (See note.)
0081
Note These errors occur only in large multilayered networks.
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.
27
14
Command
TCP
code
socket
number
27
14
Command
Response
code
code
Response
code
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 216 for details about the variable types and addresses that can be spec-
ified.
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.
Description
Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
An error occurred (EMSGSIZE).
Received ICMP data (ENOPROTOOPT).
A communication error occurred with the remote node
(ECONNABORTED).
A communication error occurred with the remote node
(ECONNRESET).
A parameter error occurred at the remote IP address
(ENETUNREACH).
Received ICMP data (EHOSTDOWN).
A parameter error occurred at the remote IP address
(EHOSTUNREACH).
A communication error occurred with the remote node
(ETIMEDOUT).
The specified socket was closed during transmission.
Results storage
area
Section 11-3
235

Advertisement

Table of Contents
loading

Table of Contents