Copy from control-spec.txt: <br><br>&lt;snip&gt;<br>3.13. ATTACHSTREAM<br><br>&nbsp; Sent from the client to the server.&nbsp; The syntax is:<br>&nbsp;&nbsp;&nbsp;&nbsp; &quot;ATTACHSTREAM&quot; SP StreamID SP CircuitID [SP &quot;HOP=&quot; HopNum] CRLF<br>
<br>&nbsp; This message informs the server that the specified stream should be<br>&nbsp; associated with the specified circuit.&nbsp; <br>&lt;snip&gt;<br><br>More high-level, my problem is, that I dont know StreamID *before* I create stream by calling socket.connect(), but it never finish, because of deadlock. Is there any possibility to get stream id before this call or do this call non-blocking?<br>
<br>Thanks,<br>Marek<br><br>The<br><div class="gmail_quote">2008/12/6 slush <span dir="ltr">&lt;<a href="mailto:slush@centrum.cz">slush@centrum.cz</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Are these steps logically OK? Because if yes, Im in problematic situation. When I tried to openstream with __LeaveStreamsUnattached=0 (default configuration), Tor automatically assign stream to any open circuit (but I want to use one specific). But when I set __LeaveStreamsUnattached=1, I obtain deadlock on &quot;proxy.connect()&quot; and I cannot continue with point 3). But I dont found any method, how to obtain stream id _before_ calling proxy.connect() to pair stream to circuit before calling this function...<br>

<br></blockquote></div><br>