<DIV id=RTEContent> <DIV>I've attached two files. What I'm trying to do is write some tests simulating devices talking (Netbios over TCP/IP) to a legacy app. The goal is to grow these test scripts into a Load/Stress Testing Framework. </DIV> <DIV> </DIV> <DIV>The script I'm running is dd.py. The other file shows the really simple code for my protocol and factory classes. Essentially, when I've made a TCP/IP connection, I send an RFC1001/1002-compliant Session Request Packet containing the level-1 encoded netbios names of the caller (client name) and callee (remote name). At this point, I'm really just trying to see if both connections can get a positive response.</DIV> <DIV> </DIV> <DIV>I've implemented a version of what I'm trying to do using the threading module, and I have not only been able to establish a Netbios session, but both my connections are</DIV> <DIV>able to converse with the server in a loop.</DIV> <DIV> </DIV> <DIV>With
my initial attempt using Twisted, only one connection seems to succeed, and the other basically hangs.</DIV> <DIV> </DIV> <DIV>Thank you for any help. <BR><BR><B><I>glyph@divmod.com</I></B> wrote: </DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR><BR>On Thu, 2 Feb 2006 13:43:17 -0800 (PST), john peter <NEUZHOUNDXX@YAHOO.COM>wrote:<BR>> i'm running twist on windows XP. any hypothesis regarding connection 2?<BR><BR>In the absence of any code, I'd have to say that your server is broken and the connection didn't get a response.<BR><BR>Perhaps you could write a small client/server pair and see if you still have the problem? If you do, you could submit a minimal example to the list.<BR><BR>_______________________________________________<BR>Twisted-Python mailing list<BR>Twisted-Python@twistedmatrix.com<BR>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<BR></BLOCKQUOTE> <DIV><BR></DIV></DIV><p>
                <hr size=1>Brings words and photos together (easily) with<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/PMDEF3/*http://photomail.mail.yahoo.com">PhotoMail </a> - it's free and works with Yahoo! Mail.