Establishing Connection
To establish an iLink 3 connection, use the Connect(string, int) method.
To handle network errors during the connection establishment, one needs to catch EngineException exceptions from the Connect(string, int) method and try to connect again.
See Also
Closing Connection
To disconnect the session, use the Disconnect(bool) method.
Example
session.Connect(counterpartyHost, counterpartyPort);
// ...
session.Disconnect();
Console.WriteLine(session.SessionId.Uuid);