  </h7><p>
            This function attempts to connect the stream to one of a sequence of
            endpoints by trying each endpoint until a connection is successfully
            established. The underlying socket is automatically opened if needed.
            An automatically opened socket is not returned to the closed state upon
            failure. The algorithm, known as a <span class="emphasis"><em>composed operation</em></span>,
            is implemented in terms of calls to the underlying sock