Share via


NEHotspotHelperCommand.CreateUdpSession(NWEndpoint) Method

Definition

Creates and returns a UDP connection.

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

Parameters

endpoint
NWEndpoint

Returns

Attributes

Applies to