RTS_SOCKET_SO_VALUE_TCP_KEEPALIVE (STRUCT)ΒΆ
TYPE RTS_SOCKET_SO_VALUE_TCP_KEEPALIVE : STRUCT
- InOut:
Name
Type
Comment
bOn
DINT
1=Enable keepalive, 0=Disable
probes
UDINT
The number of unacknowledged probes to send before considering the connection dead and notifying the application layer.NOTE: Is not supported by every platform!probesResult
RTS_IEC_RESULT
Error code for the probes parameter. Returns ERR_NOT_SUPPORTED, if option is not available on the target.
timeout
DINT
Specifies the timeout in milliseconds with no activity until the first keep-alive packet is sent.
timeoutResult
RTS_IEC_RESULT
Error code for the timeout parameter. Returns ERR_NOT_SUPPORTED, if option is not available on the target
interval
DINT
Specifies the interval in milliseconds between when successive keep-alive packets are sent if no acknowledgement is received.
intervalResult
RTS_IEC_RESULT
Error code for the interval parameter. Returns ERR_NOT_SUPPORTED, if option is not available on the target.