Omron CS1W-ETN21 operation manual UDP Close Request, Requests processing to close a socket

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 196
Image 196

 

Command/Response Reference

Section 7-3

 

 

 

 

 

 

Response code

Description

 

 

 

 

 

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.

 

 

 

Results Storage Area Response Codes

 

 

 

 

 

 

 

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).

 

 

 

 

7-3-12 UDP CLOSE REQUEST

Requests processing to close a socket.

Command Block

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

27

04

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

 

 

 

 

Results storage area

 

code

 

 

UDP socket number

 

 

 

 

 

 

 

 

 

 

Socket option

Response Block

27 04

Command Response

code code

Results Storage Format

 

Response code

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

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

(Command)

 

171

Page 196
Image 196
Omron CS1W-ETN21 operation manual UDP Close Request, Requests processing to close a socket