Initializing help system before first use

XPRDgetkeepalive

XPRDgetkeepalive


Purpose
Get KeepAlive settings.
Synopsis
void XPRDgetkeepalive(XPRDcontext ctx,int *maxfail,int *inter);
Arguments
ctx 
XPRD context or NULL to get default initial values
maxfail 
Buffer to return the maximum number of failures before the link is considered broken
interval 
Buffer to return the interval (in seconds) between two activity checks
Further information
Value 0 is returned for both maxfail and interval when the keepalive mechanism is disabled.
Related topics