def _receiving(self):
        """
        Receiving loop

        :rtype: None
        """
        while self._is_running:
            try:
                rlist, wlist, xlist = select.select(
                    self._listening, [], [],
                    self._select_timeout
                )
            except:
                self.exception("Failed to select socket")
                continue
            for sock in rlist:
                try:
                    self._get_packet(sock)
                except:
                    self.exception("Failed to receive packet")
def _receiving ( self ) : while self . _is_running : try : rlist , wlist , xlist = select . select ( self . _listening , [ ] , [ ] , self . _select_timeout ) except : self . exception ( "Failed to select socket" ) continue for sock in rlist : try : self . _get_packet ( sock ) except : self . exception ( "Failed to receive packet" )
Receiving loop

        :rtype: None