Share via


MulticastSocket.LoopbackMode Property

Definition

Get the setting for local loopback of multicast datagrams. -or- Disable/Enable local loopback of multicast datagrams The option is used by the platform's networking code as a hint for setting whether multicast data will be looped back to the local socket.

public virtual bool LoopbackMode { [Android.Runtime.Register("getLoopbackMode", "()Z", "GetGetLoopbackModeHandler")] get; [Android.Runtime.Register("setLoopbackMode", "(Z)V", "GetSetLoopbackMode_ZHandler")] set; }
[<get: Android.Runtime.Register("getLoopbackMode", "()Z", "GetGetLoopbackModeHandler")>]
[<set: Android.Runtime.Register("setLoopbackMode", "(Z)V", "GetSetLoopbackMode_ZHandler")>]
member this.LoopbackMode : bool with get, set

Property Value

true if the LoopbackMode has been disabled

Attributes

Exceptions

if an error occurs.

Remarks

Property getter documentation:

Get the setting for local loopback of multicast datagrams.

Added in 1.4.

Java documentation for java.net.MulticastSocket.getLoopbackMode().

Property setter documentation:

Disable/Enable local loopback of multicast datagrams The option is used by the platform's networking code as a hint for setting whether multicast data will be looped back to the local socket.

Because this option is a hint, applications that want to verify what loopback mode is set to should call #getLoopbackMode()

Added in 1.4.

Java documentation for java.net.MulticastSocket.setLoopbackMode(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to