Edit

Share via


NEProvider.CreateUdpSessionToEndpoint(NWEndpoint, NWHostEndpoint) Method

Definition

Creates a UDP connection with the specified values.

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

Parameters

remoteEndpoint
NWEndpoint
localEndpoint
NWHostEndpoint

To be added.

This parameter can be null.

Returns

Attributes

Applies to