ESOK_buildRemote

- build an ESOK_Remote structure

SYNOPSIS

#include <$OV_HEADER/ecs/ESOK/sockstack.h>
int32 ESOK_buildRemote
(
	const int instance,
	ESOK_Remote *remote
);

DESCRIPTION

This function populates an ESOK_Remote structure with the information required to find a local ECS correlation engine with the instance number specified.

The default instance number of an ECS correlation engine is 1.

Parameters

const int instance
The instance number of the target engine.
ESOK_Remote *remote
The ESOK_Remote structure to be populated.

RETURNS

ECS_SUCCESS
Succeeded.
ECS_BAD_PARAMETER
Bad parameter.