class inet::MulticastSocket

sys::Obj
  inet::UdpSocket
    inet::MulticastSocket

Source

MulticastSocket extends UdpSocket to provide multicast capabilities.

interface

IpInterface interface

Source

Default network interface for outgoing datagrams on this socket

joinGroup

This joinGroup(IpAddr addr, Int? port := null, IpInterface? interface := null)

Source

Join a multicast group. If interface parameter is null, then interface field is used. Return this.

leaveGroup

This leaveGroup(IpAddr addr, Int? port := null, IpInterface? interface := null)

Source

Leave a multicast group. If interface parameter is null, then interface field is used. Return this.

loopbackMode

Bool loopbackMode

Source

True to enable outgoing packets to be received by the local socket.

make

new make(SocketConfig config := SocketConfig.cur())

Source

Make a new unbound multicast UDP socket.

timeToLive

Int timeToLive

Source

Default time to live for packets send on this socket. Value must be between 0 and 255. TTL of zero is only delivered locally.