Skip to main content

Name

cli_conn — Establish an ec_console control connection

Synopsis

#include "control.h"

| int **cli_conn** ( | endpoint, |   | |   | outname); |   |

const char * <var class="pdparam">endpoint</var>; char * <var class="pdparam">outname</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Establish an ec_console control connection.

Parameters

endpoint

the control endpoint to connect to

outname

a buffer that receives the canonical endpoint name

Connects to an ec_console endpoint. outname may be NULL. If not, it must be at least MAXPATHLEN bytes

Return Values

returns a file descriptor that can be passed to send_command and ec_control_send_command.

See Also

Was this page helpful?