NT_GetConnections

Function NT_GetConnections 

Source
pub unsafe extern "C" fn NT_GetConnections(
    inst: NT_Inst,
    count: *mut usize,
) -> *mut NT_ConnectionInfo
Expand description

Get information on the currently established network connections. If operating as a client, this will return either zero or one values.

§Parameters

  • inst: Instance handle.
  • count: Returns the number of elements in the array.

§Returns

Array of connection information.

It is the caller’s responsibility to free the array. The NT_DisposeConnectionInfoArray function is useful for this purpose.