Editar

Compartilhar via


NEPacketTunnelProvider.CreateUdpSession(NWEndpoint, NWHostEndpoint) Method

Definition

Creates a new tunneled UDP connection.

[Foundation.Export("createUDPSessionThroughTunnelToEndpoint:fromEndpoint:")]
public virtual NetworkExtension.NWUdpSession CreateUdpSession (NetworkExtension.NWEndpoint remoteEndpoint, NetworkExtension.NWHostEndpoint localEndpoint);
abstract member CreateUdpSession : NetworkExtension.NWEndpoint * NetworkExtension.NWHostEndpoint -> NetworkExtension.NWUdpSession
override this.CreateUdpSession : NetworkExtension.NWEndpoint * NetworkExtension.NWHostEndpoint -> NetworkExtension.NWUdpSession

Parameters

remoteEndpoint
NWEndpoint
localEndpoint
NWHostEndpoint

To be added.

This parameter can be null.

Returns

Attributes

Applies to