NEPacketTunnelProvider.CreateUdpSession(NWEndpoint, NWHostEndpoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
- Attributes