Name
cli_conn — Establish an ec_console control connection
Synopsis
#include "control.h"
| int **cli_conn** (
| endpoint, | |
| | outname)
; | |
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.
- 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
returns a file descriptor that can be passed to send_command and ec_control_send_command.