Skip to content

Commit

Permalink
Remove disused function createTCPConnectionForPQPSK
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv committed May 10, 2024
1 parent 941b32f commit ccbed23
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ios/PacketTunnel/PacketTunnelProvider/PacketTunnelProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,6 @@ extension PacketTunnelProvider {
}
}

func createTCPConnectionForPQPSK(_ gatewayAddress: String) -> NWTCPConnection {
let gatewayEndpoint = NWHostEndpoint(hostname: gatewayAddress, port: "1337")
return createTCPConnectionThroughTunnel(
to: gatewayEndpoint,
enableTLS: false,
tlsParameters: nil,
delegate: nil
)
}

private func stopObservingActorState() {
stateObserverTask?.cancel()
stateObserverTask = nil
Expand Down

0 comments on commit ccbed23

Please sign in to comment.