UdpAnySourceMulticastClient.UnblockSource(IPAddress) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
메서드에서 시작된 멀티캐스트 패킷을 수신할 BlockSource(IPAddress) 수 있도록 이전에 메서드 호출에 의해 차단된 원본의 차단을 해제합니다.
public:
void UnblockSource(System::Net::IPAddress ^ sourceAddress);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public void UnblockSource(System.Net.IPAddress sourceAddress);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.UnblockSource : System.Net.IPAddress -> unit
Public Sub UnblockSource (sourceAddress As IPAddress)
매개 변수
- sourceAddress
- IPAddress
차단을 해제할 원본의 주소입니다.
- 특성
예외
멀티캐스트 그룹이 아직 조인되지 않았습니다.
소켓에 액세스하려고 할 때 오류가 발생했습니다.
설명
이 메서드는 UnblockSource 지정된 원본 주소에서 시작된 멀티캐스트 패킷의 차단을 해제하여 수신할 수 있습니다. 지정된 원본 주소는 이전에 메서드 호출 BlockSource 에 의해 차단되었어야 합니다.
클라이언트가 멀티캐스트 그룹에 대한 조인을 완료해야 합니다.
매개 변수는 sourceAddress IPv6 또는 IPv4 멀티캐스트 주소일 수 있습니다.
매개 변수의 지정된 원본 주소 sourceAddress 가 이전에 메서드 호출에 BlockSource 의해 차단되지 않은 경우 .SocketExceptionAddressNotAvailable
소스 차단 해제 작업을 수행하는 동안 소켓 오류가 발생하면 throw SocketException 됩니다. 수신된 오류는 열거형의 SocketError 멤버로 지정됩니다.