def connect(self, address):
        self.connected = 0
        err = self.socket.connect_ex(address)
        # XXX Should interpret Winsock return values
        if err in (EINPROGRESS, EALREADY, EWOULDBLOCK):
            return
        if (0, EISCONN) in err:
            self.add_channel()
            self.addr = address
            self.connected = 1
            self.handle_connect()
        else:
            raise socket.error, err
dataset/ETHPy150Open babble/babble/include/jython/Lib/asyncore.py/dispatcher.connect/swapped operands of `in`