ConnectionStats

struct ConnectionStats

Statistics about a connection. There is one of these per socket that Speedify creates to make the VPN. Each one is bound to run over a single one of your internet connections. It’s possible for there to be more than one on a single internet connection.

  • Adapter unique ID.

    Declaration

    Swift

    var adapterID: String
  • Whether or not this adaper is connected.

    Declaration

    Swift

    var connected: Bool
  • Connection unique ID.

    Not available on historic connection stat updates.

    Declaration

    Swift

    var connectionUID: String
  • Bytes currently in flight.

    Declaration

    Swift

    var inFlight: Int64
  • inflight window, bytes.

    Declaration

    Swift

    var inFlightWindow: Int64
  • Latency, milliseconds.

    Declaration

    Swift

    var latencyMs: Int64
  • Not available on historic connection stat updates.

    Declaration

    Swift

    var localIp: String
  • Receive loss ratio (0.0-1.0).

    Declaration

    Swift

    var lossReceive: Int64
  • Send loss ratio (0.0-1.0).

    Declaration

    Swift

    var lossSend: Int64
  • Not available on historic connection stat updates.

    Declaration

    Swift

    var privateIp: String
  • Transport protocol used for this connection (tcp|udp).

    *Please see TransportMode.

    Not available on historic connection stat updates.

    Declaration

    Swift

    var protocolUsed: String
  • Internet facing IP address of the connection.

    Not available on historic connection stat updates.

    Declaration

    Swift

    var remoteIp: String
  • Undocumented

    Declaration

    Swift

    var sleeping: Bool
  • Bytes per second through this connection.

    Declaration

    Swift

    var totalBps: Int64
  • Connection identifier. Not available on historic connection stat updates.

    Not available on historic connection stat updates.

    Declaration

    Swift

    var connectionID: String
  • bytes per second sent through this tunnel. Not available on historic tunnel stat updates. @since 7.0

    Declaration

    Swift

    var sendBps: Int64
  • bytes per second received through this tunnel. Not available on historic tunnel stat updates. @since 7.0

    Declaration

    Swift

    var receiveBps: Int64
  • estimated maximum megabytes per second send. Not available on historic tunnel stat updates. @since 7.0

    Declaration

    Swift

    var sendEstimateMbps: Double
  • estimated maximum megabytes per second received. Not available on historic tunnel stat updates. @since 7.0

    Declaration

    Swift

    var receiveEstimateMps: Double