Java MulticastSocket getLoopbackMode()

getLoopbackMode() is the method of MulticastSocket class. This method is used for getting local lookback of multicast datagrams.

Syntax

Returns

It returns true if the LoopbackMode has been disabled.

Throw

SocketException - this exception occurs while getting the value

Example 1

Test it Now

Output:

Loopback mode : true




Latest Courses