beautypg.com

Udp close request, 3-12 udp close request – Omron CS1W-ETN21 User Manual

Page 196

background image

171

Command/Response Reference

Section 7-3

Results Storage Area Response Codes

7-3-12 UDP CLOSE REQUEST

Requests processing to close a socket.

Command Block

Response Block

Results Storage Format

Parameters

Socket Option (Command)

The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.

UDP Socket Number
(Command)

The UDP socket number to be closed specified as 1 byte between 1 and 8.

1100

UDP socket number or number of bytes sent is out of range.
The destination IP address is 0.
Local UDP port number is 0.

1101

The variable type for the results storage area is out of range.

1103

Non-zero bit address specified for the results storage area.

220F

Specified socket is currently sending.

2210

The specified socket is not open.

2211

High traffic at Unit; cannot execute service.

Response code

Description

0000

Normal

003E

Internal buffer cannot be reserved due to high reception load
(ENOBUFS).

0042

The send destination IP address is a broadcast address and
the number of bytes sent exceeds 1,472. (EMSGSIZE)

004C

Incorrect network number.
Incorrect destination IP address (EADDRNOTAVAIL).

004E

Incorrect destination IP address (ENETUNREACH).
No network number in IP router table.
Router incorrectly set.

0051

Router incorrectly specified.
Incorrect destination IP address (EHOSTUNREACH).

Response code

Description

Command

code

Socket option

UDP socket number

27 04

Results storage area

Response

code

Command

code

27 04

Response code