Düzenle

Aracılığıyla paylaş


NEProvider.CreateTcpConnectionToEndpoint Method

Definition

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
TLSParameters
NWTlsParameters

To be added.

This parameter can be null.

connectionDelegate
NSObject

To be added.

This parameter can be null.

Returns

Attributes

Applies to