Anybus® CompactCom 40 - EtherNet/IP IIoT Secure

Instance Attributes (Sockets #1...Max. no. of instances)

Extended

#

Name

Access

Data Type

Description

1

Socket Type

Get

UINT8

Value:

Socket Type

00h

SOCK_STREAM, NONBLOCKING (TCP)

01h

SOCK_STREAM, BLOCKING (TCP)

02h

SOCK_DGRAM, NONBLOCKING (UDP)

03h

SOCK_DGRAM, BLOCKING (UDP)

2

Port

Get

UINT16

Local port that the socket is bound to

3

Host IP

Get

UINT32

Host IP address, or 0 (zero) if not connected

4

Host port

Get

UINT16

Host port number, or 0 (zero) if not connected

5

TCP State

Get

UINT8

State (TCP sockets only):

Value

State/Description

00h

CLOSED  Closed

01h

LISTEN  Listening for connection

02h

SYN_SENT  Active, have sent and received SYN

03h

SYN_RECEIVED  Have sent and received SYN

04h

ESTABLISHED  Established.

05h

CLOSE_WAIT  Received FIN, waiting for close

06h

FIN_WAIT_1  Have closed, sent FIN

07h

CLOSING  Closed exchanged FIN; await FIN ACK

08h

LAST_ACK  Have FIN and close; await FIN ACK

09h

FIN_WAIT_2  Have closed, FIN is acknowledged

Ah

TIME_WAIT  Quiet wait after close

6

TCP RX bytes

Get

UINT16

Number of bytes in RX buffers (TCP sockets only)

7

TCP TX bytes

Get

UINT16

Number of bytes in TX buffers (TCP sockets only)

8

Reuse address

Get/Set

BOOL

Socket can reuse local address

Value

Meaning

1

Enabled

0

Disabled (default)

9

Keep alive

Get/Set

BOOL

Protocol probes idle connection (TCP sockets only). If the Keep alive attribute is set, the connection will be probed for the first time after it has been idle for 120 minutes. If a probe attempt fails, the connection will continue to be probed at intervals of 75s. The connection is terminated after 8 failed probe attempts.

Value

Meaning

1

Enabled

0

Disabled (default)

10

IP Multicast TTL

Get/Set

UINT8

IP Multicast TTL value (UDP sockets only).

Default = 1.

11

IP Multicast Loop

Get/Set

BOOL

IP multicast loop back (UDP sockets only) Must belong to group in order to get the loop backed message

Value

Meaning

1

Enabled (default)

0

Disabled

12

(reserved)

13

TCP No Delay

Get/Set

BOOL

Don’t delay send to coalesce packets (TCP).

Value

Meaning

1

Delay (default)

0

Don’t delay (turn off Nagle’s algorithm on socket)

14

TCP Connect Timeout

Get/Set

UINT16

TCP Connect timeout in seconds (default = 75s)