@Sven:<div><br></div><div>I just realized I pushed some Chrome-specific code to the demo server. I've revised it, so the demo should now run correctly in up-to-date Firefox and Chrome. I don't have access to a Windows machine right now, so I can't test in IE. I have no excuse for not testing in Opera, though.</div>
<div><br></div><div>Socket.io uses the best possible connection channel available in the browser (Websockets, then Flash sockets, then long-poll), so it should use Websockets automatically if they're available. However, anything less than a Websocket connection will be far too slow to be playable, so perhaps I should just switch to ws. I'll run some tests and see what the best option is.</div>
<div><div><br></div><div>@James:</div><div><br></div><div>I did indeed lift the architecture of the networking code directly from Gytha. I was fortunate that there is a Javascript implementation of the Python struct packing library, so I needed to change very little. For the SP_ and CP_ message objects, I actually wrote a regular expression that rewrites the Python code into Javascript syntax. (I'll be sure to mention you in my copyright docs as soon as I put up a license on the Git repo!)</div>
<div><br></div><div>Thanks again for your advice and very readable Gytha code. I definitely wouldn't be nearly as far as I am without it!</div><div><br></div><div>I'll send out another notice when I've improved the cosmetics, done some performance improvements, and added a feature or two (chat and army transportation are high on the list).</div>
<div><br></div><div>Andrew<br><br><div class="gmail_quote">On Wed, Apr 4, 2012 at 5:09 AM, James Cameron <span dir="ltr"><<a href="mailto:quozl@us.netrek.org">quozl@us.netrek.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've reviewde the code in git, I like it, well done. I see how it<br>
derives from some of my work on Gytha.<br>
<br>
I'm interested in hearing more, do keep us informed.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
_______________________________________________<br>
netrek-dev mailing list<br>
<a href="mailto:netrek-dev@us.netrek.org">netrek-dev@us.netrek.org</a><br>
<a href="http://mailman.us.netrek.org/mailman/listinfo/netrek-dev" target="_blank">http://mailman.us.netrek.org/mailman/listinfo/netrek-dev</a><br>
</font></span></blockquote></div><br></div></div>