<br><br><div class="gmail_quote">On 27 January 2011 22:33, David Bruce <span dir="ltr"><<a href="mailto:davidstuartbruce@gmail.com">davidstuartbruce@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Deepak<br>
<div><div></div><div class="h5"><br>
On Thu, Jan 27, 2011 at 10:15 AM, <a href="mailto:deepak.aggarwal9@gmail.com">deepak.aggarwal9@gmail.com</a><br>
<<a href="mailto:deepak.aggarwal9@gmail.com">deepak.aggarwal9@gmail.com</a>> wrote:<br>
> Hi<br>
> I am working on common library for tux4kids and have found way so that<br>
> servers can communicate.<br>
> I want to know which information is to be sync.between server except scores<br>
> or student and I also want implement a facility so that performance report<br>
> of students can be generate.<br>
> Can some one help me regarding this thing.<br>
<br>
</div></div>I'm not so sure what you are working on - I'm getting the idea that<br>
your work is more along the lines of our unfinished t4k-admin project,<br>
rather than the server for the tuxmath LAN game specifically, which is<br>
what I thought you meant in your earlier post.<br>
<br>
For the last two summers we have had a GSoC project to make a<br>
comprehensive administration tool for tuxmath and tuxtype using the<br>
Qt4 gui toolkit. The idea is to make the programs "enterprise-ready"<br>
so to speak for teachers and schools. A lot of code has been written<br>
but we've not had any package releases. The git repository for<br>
t4k-admin is at our alioth site, alongside our other projects. You<br>
should have a look at what has been done so far in that repo.<br>
<br>
Best,<br>
<br>
David Bruce<br>
<br>
------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d" target="_blank">http://p.sf.net/sfu/arcsight-sfd2d</a><br>
_______________________________________________tly <br>
Tuxmath-devel mailing list<br>
<a href="mailto:Tuxmath-devel@lists.sourceforge.net">Tuxmath-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/tuxmath-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/tuxmath-devel</a><br>
</blockquote></div><br>About your first mail, I didn't quite get what you meant by "automatic allocation of ports". IMHO, for games, there's a static server port on which the server <u>listen</u>s for connections from clients, and once a connection is <u>accept</u>ed, the server <u>send</u>s and <u>rec</u>ei<u>v</u>es data (on an implicitly bound port; explicitly binding isn't necessary) per client. The reason why TuxMath can't handle running multiple servers atm. is that MathCards (the part of TuxMath) that generates data uses file level variables to maintain state. I had started some work on fixing that, and it should be ready soon (read: <i>sometime in the future</i>)<br clear="all">
<br>About the "syncing" thing, things are synchronized between the server using messages and the main "things" that are synced are:<br><br><ol><li>Player Names</li><li>Player Scores</li><li>Questions (I believe this is now Question - one at a time)</li>
</ol>-- <br>Regards,<div>Aviral</div><br>