Udostępnij za pośrednictwem


UdpAnySourceMulticastClient.MulticastLoopback Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that specifies whether outgoing multicast packets are delivered to the sending application.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

Syntax

'Declaration
Public Property MulticastLoopback As Boolean
public bool MulticastLoopback { get; set; }

Property Value

Type: System.Boolean
A value that indicates if outgoing packets to a multicast group are delivered to the sending application.

Exceptions

Exception Condition
InvalidOperationException

The multicast group has not yet been joined.

ObjectDisposedException

The UdpAnySourceMulticastClient has been disposed.

Remarks

Multicast traffic is a scalable method for many-to-many communication on the Internet. A process subscribes to a multicast group address. Then, any packets sent by a subscribed process to the multicast group are received by every other process subscribed to the multicast address. The MulticastLoopback property controls whether any process on the local computer receives multicast packets sent by this client to the multicast group.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.