Client_Create

Function Client_Create 

Source
pub unsafe extern "C" fn Client_Create() -> *mut CClient
Expand description
 Construction.
  You can create many instances of the Vicon DataStream Client which can connect to multiple Vicon DataStream Servers.
  .NET is object oriented, so use the class constructor.

  Because objects are lazily garbage collected, your instance may outlive the last reference to it for some time.

  If the instance is pre-fetching frame data for you, then it can still use CPU and network bandwidth.

  Consider explicitly disconnecting prior to destruction.

       ViconDataStreamSDK.DotNET.Client pHeapClient = new ViconDataStreamSDK.DotNET.Client();
       Output_SomeFunction Output = pHeapClient.SomeFunction(InputParam);

       // Signal to the garbage collector that it can clean up
       pHeapClient.Disconnect();
       pHeapClient = null;