NEProvider.CreateUdpSessionToEndpoint(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 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
Returns
- Attributes