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