MulticastSocket
class MulticastSocket : UdpSocket
MulticastSocket extends UdpSocket to provide multicast capabilities.
Make a new unbound multicast UDP socket
Default time to live for packets send on this socket
True to enable outgoing packets to be received by the local socket
Default network interface for outgoing datagrams on this socket
Join a multicast group
Leave a multicast group
IpInterface : interface
Default network interface for outgoing datagrams on this socket
This joinGroup(IpAddr addr, Int? port, IpInterface? interface)
Join a multicast group. If interface parameter is null, then interface field is used. Return this.
This leaveGroup(IpAddr addr, Int? port, IpInterface? interface)
Leave a multicast group. If interface parameter is null, then interface field is used. Return this.
Bool : loopbackMode
True to enable outgoing packets to be received by the local socket.
new make(SocketConfig config)
Make a new unbound multicast UDP socket.
Int : timeToLive
Default time to live for packets send on this socket. Value must be between 0 and 255. TTL of zero is only delivered locally.