This version of Unity is unsupported.
Method group is Obsolete

NetworkTransport.SetMulticastLock

Obsolete public static void SetMulticastLock(bool enabled);

Description

Enable or disable a multicast lock.

On Android a multicast lock is required to be able to receive broadcast packets. Enabling the lock can increase battery drain.

This lock is not needed on other platforms.