다음을 통해 공유


NEProvider.CreateUdpSessionToEndpoint(NWEndpoint, NWHostEndpoint) 메서드

정의

지정된 값을 사용하여 UDP 연결을 만듭니다.

[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

매개 변수

remoteEndpoint
NWEndpoint
localEndpoint
NWHostEndpoint

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

반환

특성

적용 대상