• Version 1.7.1
Show / Hide Table of Contents

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

  • Session Initialization and Binding.
  • Reconnection.

Closing Connection

To disconnect the session, use the Disconnect(bool) method.

Example

session.Connect(counterpartyHost, counterpartyPort);

// ...

session.Disconnect();
Console.WriteLine(session.SessionId.Uuid);
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX