Enterprise Communication Interface (ECI)

Opens an authorised IPC Connection (eci_connect_secure)

Description

Connects to Agile e6 server.

With eci_connect_secure the user and password can be transferred with a C-function. This connect enables a connection with the level "process" without calling eci_chk_pwd in addition (is executed by eci_connect_secure).

If cpUser/cpPwd is NULL, then no password check is done.

Possible values for <transportmode>:

  • 1 tcpip

Possible values for <resource>:

  • socket number (for tcpip mode)

Syntax

eci_connect_secure(edb_data_header *tpConnection, char *cpUser, char *cpPwd, char *cpTopicString, char *cpPartnerId, char *cpMyId)

 

Input parameter

cpUser

Agile e6 user name (or NULL)

cpPwd

Agile e6 user password (or NULL)

cpTopicString

connection string (ECI-SEC-TOPIC).

Syntax: ":t:<transportmode>:h:<hostname>:r:<resource>"

cpPartnerId

unique string for Agile e6 server process

cpMyId

unique string for own process

 

Output parameter

tpConnection

pointer to ECI-administration struct

 

Return value

0 o.k.
1 wrong syntax of cpTopicString
3 error for eci_call
4 wrong password
-1 error