GitHub    Download    Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Connection
Create
Destroy
Connect
Disconnect
QueryConfiguration
QueryControl
QueryDomain
QuerySchemaEdit
ISystemCallback
ObjectId
Thread
Data interfaces
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup

Connection.Connect

Establishes a connection to a DataFS server.

Syntax

int Connect(
String p_strAddress,
UInt16 p_usPort,
stcConnectionOptions p_pOptions
);

Parameter

p_strAddress
Type: String
A string containing the host name or IP address that the connection should be established to.
p_usPort
Type: UInt16
The port that the connection should be established to.
p_pOptions
Type: stcConnectionOptions
A set of options used to establish the connection.
Pass null for an unencrypted connection or a stcConnectionOptions to establish an encrypted connection.

Return value

S_OK or an error from the Error Codes.

Remarks

Call Connection.Disconnect to close the connection.
© 2022 Mobiland AG