MulticastLoopback Property
Collapse the table of content
Expand the table of content

UdpAnySourceMulticastClient.MulticastLoopback Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

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.

ExceptionCondition
InvalidOperationException

The multicast group has not yet been joined.

ObjectDisposedException

The UdpAnySourceMulticastClient has been disposed.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft