RPC Server Support
lgo_HeartbeatServer()
Called periodically by the client to maintain the connection to the server.
#include "laygo.h"
LResult lgo_HeartbeatServer
(
void
);
lgo_HeartbeatServer() is called periodically by the client to maintain the connection to the server.
If successful, lgo_HeartbeatServer() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
LResult result;
if ((result = lgo_HeartbeatServer()) < 0)
{
return (result);
}