Aracılığıyla paylaş


UdpAnySourceMulticastClient(IPAddress, Int32) Oluşturucu

Tanım

Dikkat

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Bir grup adresine abone olabilecek ve herhangi bir kaynaktan veri birimleri alabilen yeni UdpAnySourceMulticastClient bir UDP istemcisi oluşturur.

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)

Parametreler

groupAddress
IPAddress

Bu alıcının abone olması için çok noktaya yayın grup adresi.

localPort
Int32

Bu alıcının bağlanacak yerel bağlantı noktası.

Öznitelikler

Özel durumlar

groupAddress, null değeridir. reference

localPort 0'dan küçük -veya- localPort 65.535'ten büyük.

Açıklamalar

Oluşturucu UdpAnySourceMulticastClient bir UDP çok noktaya yayın yuvasını bir grup adresi ve bağlantı noktasıyla ilişkilendirir, ancak yuvayı bağlamaz veya başka bir şekilde kullanmaz.

groupAddress Parametre bir IPv6 veya IPv4 çok noktaya yayın adresi olabilir.

localPort parametresi 1.024'ten küçük bir bağlantı noktası belirtmemelidir.

Şunlara uygulanır