UdpAnySourceMulticastClient(IPAddress, Int32) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
그룹 주소를 구독하고 모든 원본에서 데이터그램을 받을 수 있는 새 UdpAnySourceMulticastClient UDP 클라이언트를 만듭니다.
public:
UdpAnySourceMulticastClient(System::Net::IPAddress ^ groupAddress, int localPort);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public UdpAnySourceMulticastClient(System.Net.IPAddress groupAddress, int localPort);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
new System.Net.Sockets.UdpAnySourceMulticastClient : System.Net.IPAddress * int -> System.Net.Sockets.UdpAnySourceMulticastClient
Public Sub New (groupAddress As IPAddress, localPort As Integer)
매개 변수
- groupAddress
- IPAddress
구독할 이 수신기의 멀티캐스트 그룹 주소입니다.
- localPort
- Int32
바인딩할 이 수신기의 로컬 포트입니다.
- 특성
예외
groupAddress은 null입니다. 참조
localPort 가 0보다 작거나 localPort 65,535보다 큰 경우
설명
UdpAnySourceMulticastClient 생성자는 UDP 멀티캐스트 소켓을 그룹 주소 및 포트와 연결하지만 바인딩하거나 사용하지 않습니다.
매개 변수는 groupAddress IPv6 또는 IPv4 멀티캐스트 주소일 수 있습니다.
매개 변수는 localPort 1,024보다 작은 포트를 지정해서는 안됩니다.