def listen_loop(self):
while self.listening:<EOL><INDENT>try:<EOL><INDENT>data, address = self.sock.recvfrom(self.bufsize)<EOL>self.receive_datagram(data, address)<EOL>if self.stats_enabled:<EOL><INDENT>self.stats['<STR_LIT>'] += len(data)<EOL><DEDENT><DEDENT>except socket.error as error:<EOL><INDENT>if error.errno == errno.WSAECONNRESET:<EOL><INDENT>logger.info("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT><DEDENT>logger.info("<STR_LIT>")<EOL>
Starts the listen loop and executes the receieve_datagram method
        whenever a packet is receieved.

        Args:
          None

        Returns:
          None