Function ntcore_sys::NT_GetConnections [] [src]

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

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

@param inst instance handle @param count returns the number of elements in the array @return array of connection information

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