You are here: SwitchKit® Development Environment - TCAP Interface User’s Guide > 4 SKIM Sample Application > Step One: Creating a connection with LLC using SwitchKit

Step One: Creating a connection with LLC using SwitchKit

The API function described in this section allows you to create a connection with LLC using SwitchKit.

Application Code

{

int ret;

/* create the connection */

ret = skts_createConnection(CONN_ID, CONN_LABEL, CONN_NAME,

SKIM_FALSE,

PRI_IP, PRI_PORT,

BACK_IP, BACK_PORT);

if (ret == 0)

{

fprintf(stderr, "Error connecting to switch\n");

return (SKIM_EINVALIDARGS);

}

return (SKIM_SUCCESS);

}

Internet Protocol. Part of the TCP/IP family of protocols used to route messages and tracks the addresses of nodes.