

def __init__(self, addr=None):
    if (addr is None):
        addr = (HOST, PORT)
    self.conn = socket.create_connection(addr)
    self.client = self.conn.makefile('rw', encoding='utf-8')
    self.id = 0
    if (HANDSHAKE is not None):
        self._authenticate(HANDSHAKE)

dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/ase/android.py Android.__init__/original