Cool thanks! I did notice the DOS formatted \r\n in the protocol description. This is a much easier protocol than I thought it would be. I'll play around with the server & protocol for a while, this is a good method of bench testing my client side algorithms.
<br><br>Thanks!<br><br>--Cal<br><br><div><span class="gmail_quote">On 4/13/07, <b class="gmail_sendername">Dustin Sallings</b> <<a href="mailto:dustin@spy.net">dustin@spy.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><span class="q"><br><div><div>On Apr 13, 2007, at 7:24 , Cal Heldenbrand wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
Thanks for all the info! Do you think you could give me a small snippet of that mcsets file you generated? I've only scanned over the protocol a bit, but I'd like to do a few tests in my environment too. I didn't think I could use netcat directly on the server, that's pretty cool. :-)
<span> </span><br></span></blockquote></div><div><br></div></span><div><span style="white-space: pre;">        </span>This is how I generated them:</div><div><br></div><div>#!/usr/bin/env python</div><div><br></div><div>import sys
</div><div><br></div><div>for i in range(int(sys.argv[1])):</div><div> sys.stdout.write("set k%s 0 300 26\r\n%s\r\n" % (i, "x" * 26))</div><div><br></div><div><br></div><div><span style="white-space: pre;">
        </span>Notice the CR is important, so this won't necessarily paste well (ff=dos in vim will probably do it):</div><div><br></div><div>set k0 0 300 26</div><div>xxxxxxxxxxxxxxxxxxxxxxxxxx</div><div>set k1 0 300 26</div>
<div>xxxxxxxxxxxxxxxxxxxxxxxxxx</div><div>set k2 0 300 26</div><div>xxxxxxxxxxxxxxxxxxxxxxxxxx</div><div><br></div><div><br></div><div><span style="white-space: pre;">        </span>I sent the output of nc to /dev/null, but you could also stream it through grep looking for errors. Checking the stats and spot checking was fine for me since I really just wanted to know how fast it *could* load them (on my machine, anyway).
</div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>-- </div><div>Dustin Sallings</div><br></span> </div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Cal Heldenbrand<br> FBS Data Systems<br> E-mail: <a href="mailto:cal@fbsdata.com">cal@fbsdata.com</a>