stopDiscovery method
A way to stop the Client from further listening on multicast discovery messages. This is particularly useful when you have found the host with the required service.
Implementation
void stopDiscovery() => _disconnectFromMulticastGroup();