def connect(self, (host, port)):
        self._host = "%s:%s" % (host, port)
        self._sock = EventSocket(
            read_cb=self._sock_read_cb,
            close_cb=self._sock_close_cb,
            error_cb=self._sock_error_cb,
            debug=self.connection.debug,
            logger=self.connection.logger)
        if self.connection._sock_opts:
            for k, v in self.connection._sock_opts.iteritems():
                family, type = k
                self._sock.setsockopt(family, type, v)
        self._sock.setblocking(False)
        self._sock.connect(
            (host, port), timeout=self.connection._connect_timeout)
        self._heartbeat_timeout = None
Configure parser for this action
dataset/ETHPy150Open agoragames/haigha/haigha/transports/event_transport.py/EventTransport.connect--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qipkg/actions/install.py/configure_parser