Instance Attributes (Sockets #1...Max. no. of instances)
Extended
# | Name | Access | Data Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Socket Type | Get | UINT8 |
| ||||||||||||||||||||||||
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):
| ||||||||||||||||||||||||
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
| ||||||||||||||||||||||||
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.
| ||||||||||||||||||||||||
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
| ||||||||||||||||||||||||
12 | (reserved) | |||||||||||||||||||||||||||
13 | TCP No Delay | Get/Set | BOOL | Don’t delay send to coalesce packets (TCP).
| ||||||||||||||||||||||||
14 | TCP Connect Timeout | Get/Set | UINT16 | TCP Connect timeout in seconds (default = 75s) |