def listen_loop(self, address, family, internal=False):
try:<EOL><INDENT>sock = eventlet.listen(address, family)<EOL><DEDENT>except socket.error as e:<EOL><INDENT>if e.errno == errno.EADDRINUSE:<EOL><INDENT>logging.critical("<STR_LIT>" % (address, family))<EOL>raise<EOL><DEDENT>elif e.errno == errno.EACCES and address[<NUM_LIT:1>] <= <NUM_LIT>:<EOL><INDENT>logging.critical("<STR_LIT>" % (address, family))<EOL>return<EOL><DEDENT>logging.critical("<STR_LIT>" % (address, family, e))<EOL>return<EOL><DEDENT>eventlet.sleep(<NUM_LIT:0.5>)<EOL>logging.info("<STR_LIT>" % (address, ))<EOL>try:<EOL><INDENT>eventlet.serve(<EOL>sock,<EOL>lambda sock, addr: self.handle(sock, addr, internal),<EOL>concurrency = <NUM_LIT>,<EOL>)<EOL><DEDENT>finally:<EOL><INDENT>sock.close()<EOL><DEDENT>
Accepts incoming connections.