def open(self, host = '', port = IMAP4_TLS_PORT):
        self.host = host
        self.port = port
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        self.sock.connect((host, port))
        self.sock = TLSConnection(self.sock)
        self.sock.closeSocket = True
        ClientHelper._handshake(self, self.sock)
        self.file = self.sock.makefile('rb')
Setup connection to remote server on "host:port".
dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/tlslite/integration/IMAP4_TLS.py/IMAP4_TLS.open