- open a connection to an ECS correlation engine
#include <$OV_HEADER/ecs/ESOK/sockstack.h> int32 ESOK_open ( const ESOK_Remote *remote, ESOK_ConnectionId *conId );
This function opens a connection to an ECS correlation engine.
A client can open one or more connections to one or more ECS correlation engines. Up to ESOK_MAXCON connections can be opened with a single correlation engine.
const ESOK_Remote *remote
See ESOK_buildRemote.
ESOK_ConnectionId *conId
conId is set to the value of the connection ID.
ECS_SUCCESS
ECS_BAD_PARAMETER
ESOK_NOT_INITIALISED
ESOK_stackInit has not been called.
ESOK_RESOURCE_LIMIT
ESOK_MAXCON exceeded.
ESOK_COMMUNICATION_ERROR