def wait_for_write(socket, timeout = None):
        writable = select.select([], [socket], [], timeout)[1]
        return writable(writable)
Gets the list of Portal ids.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/mainloop/wait.py/wait_for_write--crossover with--dataset/ETHPy150Open exosite-labs/pyonep/pyonep/portals/endpoints.py/Endpoints.get_domain_portal_ids