RPC Server Support

Heartbeat Server

lgo_HeartbeatServer()

Called periodically by the client to maintain the connection to the server.

Syntax
#include "laygo.h"

LResult lgo_HeartbeatServer
    (
        void
    );
Description

lgo_HeartbeatServer() is called periodically by the client to maintain the connection to the server.

Return Values

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:

See Also

lgo_RpcHeartbeatServer()

Example
LResult      result;

if ((result = lgo_HeartbeatServer()) < 0)
{
    return (result);
}