...
Code Block | ||
---|---|---|
| ||
#include <lmx.h> #include <stdio.h> LMX_HANDLE h; int main() { exit_on_error(LMX_Init(&h)); exit_on_error(LMX_Checkout(h, "f2", 1, 0, 1)); exit_on_error(LMX_Heartbeat(LmxHandleh, "f2")); return 0; } |
The following example shows how to set an automatic heartbeat with the heartbeat frequency set for 60 seconds.
...