

def start(self):
    address = None
    try:
        address = (socket.gethostbyname(self.hostname), self.port)
    except socket.gaierror:
        logger.error('hostname not found')
        raise
    logger.info(('connecting to %r...' % (address,)))
    self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    address._socket.connect(address)
    self._group.spawn(self._send_loop)
    self._group.spawn(self._process_loop)
    self._group.spawn(self._recv_loop)
    gevent.sleep(0)

dataset/ETHPy150Open gwik/geventirc/lib/geventirc/irc.py Client.start/VarMisuse@84/106 `self`->`address`