Socket object instance attributes – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 159

Advertising
background image

Publication ENET-UM527E-EN-P - October 2006

Socket Interface 159

Socket Object Instance Attributes

The Socket Object provides a number of instance attributes that apply
to specific socket instances. To get or set an instance attribute, specify
a valid instance number.

If you use Get Attributes All to get the instance attributes, the response
contains all of the above attributes, in the order shown above (total
size of 36 bytes). If you use Set Attributes All, the request must include
attributes 3, 4, 5, 6 and 7, in that order (total size of 20 bytes).

Instance
Attribute

Name

Data Type

Access

Description

1

LocalAddr

Struct SockAddr

Get

Local address for the socket

2

RemoteAddr

Struct SockAddr

Get

Remote address for the socket

3

SendBufSize

DINT

Get

Set

Size of the socket send buffer (bytes)

4

RecvBufSize

DINT

Get

Set

Size of the socket receive buffer (bytes)

5

TCPKeepAlive

DINT

Get

Set

Enable (1) or disable (0) TCP Keep Alive for the socket.
Enabled by default.

6

TCPNoDelay

DINT

Get

Set

Enable (1) or disable (0) the TCP No Delay behavior.
Enabled by default.

7

InactivityTimeout

DINT

Get

Set

See above section on Inactivity Timeout.

Advertising
This manual is related to the following products: