Copy from control-spec.txt: <br><br><snip><br>3.13. ATTACHSTREAM<br><br> Sent from the client to the server. The syntax is:<br> "ATTACHSTREAM" SP StreamID SP CircuitID [SP "HOP=" HopNum] CRLF<br>
<br> This message informs the server that the specified stream should be<br> associated with the specified circuit. <br><snip><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"><<a href="mailto:slush@centrum.cz">slush@centrum.cz</a>></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 "proxy.connect()" 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>