code: def _drop_membership_multicast_socket(self):
          
          # Leave group
          self._multicast_socket.setsockopt(
              socket.IPPROTO_IP,
              socket.IP_DROP_MEMBERSHIP,
              self._membership_request
          )
          self._membership_request = None
docs: Drop membership to multicast
  
          :rtype: None