vertx / io.vertx.reactivex.core.datagram / DatagramSocket / rxListenMulticastGroup

# rxListenMulticastGroup

`open fun rxListenMulticastGroup(multicastAddress: String): Single<DatagramSocket>`

Joins a multicast group and listens for packets send to it. The is notified once the operation completes.

### Parameters

`multicastAddress` - the address of the multicast group to join

Return

`open fun rxListenMulticastGroup(multicastAddress: String, networkInterface: String, source: String): Single<DatagramSocket>`

Joins a multicast group and listens for packets send to it on the given network interface. The is notified once the operation completes.

### Parameters

`multicastAddress` - the address of the multicast group to join

`networkInterface` - the network interface on which to listen for packets.

`source` - the address of the source for which we will listen for multicast packets

Return