ConnectionStats
public struct ConnectionStats : Equatable
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
public var adapterID: String -
Whether or not this adaper is connected.
Declaration
Swift
public var connected: Bool -
Connection unique ID.
Not available on historic connection stat updates.
Declaration
Swift
public var connectionUID: String -
Bytes currently in flight.
Declaration
Swift
public var inFlight: Int64 -
inflight window, bytes.
Declaration
Swift
public var inFlightWindow: Int64 -
Latency, milliseconds.
Declaration
Swift
public var latencyMs: Int64 -
Not available on historic connection stat updates.
Declaration
Swift
public var localIp: String -
Receive loss ratio (0.0-1.0).
Declaration
Swift
public var lossReceive: Double -
Send loss ratio (0.0-1.0).
Declaration
Swift
public var lossSend: Double -
Not available on historic connection stat updates.
Declaration
Swift
public var privateIp: String -
Transport protocol used for this connection (tcp|udp).
*Please see
TransportMode.Declaration
Swift
public var protocolUsed: String -
Number of active sockets for this connection.
Not available on historic connection stat updates.
- @since 10.9.5
Declaration
Swift
public var numberOfSockets: Int32 -
Internet facing IP address of the connection.
Not available on historic connection stat updates.
Declaration
Swift
public var remoteIp: String -
If the adapter is currently sleeping.
Declaration
Swift
public var sleeping: Bool -
bits per second through this connection.
Declaration
Swift
public var totalBps: Int64 -
Connection identifier. Not available on historic connection stat updates.
Not available on historic connection stat updates.
Declaration
Swift
public var connectionID: String -
bits per second sent through this tunnel. @since 7.0
Declaration
Swift
public var sendBps: Int64 -
bits per second received through this tunnel. @since 7.0
Declaration
Swift
public var receiveBps: Int64 -
estimated maximum megabits per second send. Not available on historic tunnel stat updates. @since 7.0
Declaration
Swift
public var sendEstimateMbps: Double -
estimated maximum megabits per second received. Not available on historic tunnel stat updates. @since 7.0
Declaration
Swift
public var receiveEstimateMbps: Double -
brief Jitter, in miliseconds
- Not available on historic tunnel stat updates.
- Not available on ‘speedify’ adapter.
- @since 11.5
Declaration
Swift
public var jitterMs: Int64 -
\brief Mean Opinion Score, 1-5
- Not available on historic tunnel stat updates.
- Not available on ‘speedify’ adapter.
- @since 11.5
Declaration
Swift
public var mos: Int64 -
bytes sent @since 14.0
Declaration
Swift
public var sendBytes: UInt64 -
bytes received @since 14.0
Declaration
Swift
public var receiveBytes: UInt64 -
Declaration
Swift
public static func == (lhs: ConnectionStats, rhs: ConnectionStats) -> Bool