Share via


NEHotspotHelperCommand.CreateTcpConnection(NWEndpoint) Method

Definition

Creates and returns a TCP connection.

[Foundation.Export("createTCPConnection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual NetworkExtension.NWTcpConnection CreateTcpConnection(NetworkExtension.NWEndpoint endpoint);
[<Foundation.Export("createTCPConnection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateTcpConnection : NetworkExtension.NWEndpoint -> NetworkExtension.NWTcpConnection
override this.CreateTcpConnection : NetworkExtension.NWEndpoint -> NetworkExtension.NWTcpConnection

Parameters

endpoint
NWEndpoint

Returns

Attributes

Applies to