CreateConnection

Type:

EXS SwitchKit API message

Description

An application that needs to connect to a specific LLC must issue a function call sk_createConnection(). The function then uses the SK_CreateConnection message to establish the connection between the LLC and requesting application.

Important! It is not possible to send the CreateConnection message directly to the LLC.

Sent by

Application

C Structure

typedef struct {

UBYTE ConnectionID;

char PriHost[30];

char RedHost[30];

unsigned short PriPort;

unsigned short RedPort;

UBYTE Action;

} SK_CreateConnection;

C++ Class

class SKC_CreateConnection : public SKC_ToolkitMessage {

public:

UBYTE getConnectionID() const;

void setConnectionID(UBYTE x);

const char *getPriHost() const;

void setPriHost(const char *x);

const char *getRedHost() const;

void setRedHost(const char *x);

unsigned short getPriPort() const;

void setPriPort(unsigned short x);

unsigned short getRedPort() const;

void setRedPort(unsigned short x);

UBYTE getAction() const;

void setAction(UBYTE x);

};