NEProvider.CreateTcpConnectionToEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a TCP connection with the specified values.
[Foundation.Export("createTCPConnectionToEndpoint:enableTLS:TLSParameters:delegate:")]
public virtual NetworkExtension.NWTcpConnection CreateTcpConnectionToEndpoint (NetworkExtension.NWEndpoint remoteEndpoint, bool enableTLS, NetworkExtension.NWTlsParameters TLSParameters, Foundation.NSObject connectionDelegate);
abstract member CreateTcpConnectionToEndpoint : NetworkExtension.NWEndpoint * bool * NetworkExtension.NWTlsParameters * Foundation.NSObject -> NetworkExtension.NWTcpConnection
override this.CreateTcpConnectionToEndpoint : NetworkExtension.NWEndpoint * bool * NetworkExtension.NWTlsParameters * Foundation.NSObject -> NetworkExtension.NWTcpConnection
Parameters
- remoteEndpoint
- NWEndpoint
- enableTLS
- Boolean
Returns
- Attributes