3-17 tcp close request, Precautions – Omron W343-E1-07 User Manual

Page 256

Advertising
background image

235

Command/Response Reference

Section 11-3

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

Response Block

Results Storage
Format

Parameters

TCP Socket Number
(Command)

The TCP socket number to be closed 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
page 216 for details about the variable types and addresses that can be spec-
ified.

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.

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.

Response code

Description

14

27

Command
code

Results storage
area

TCP
socket
number

14

27

Command
code

Response
code

Response
code

Advertising
This manual is related to the following products: