User Tools

Site Tools


pentominos:pentominos

This is an old revision of the document!


Pentominos - Data Collection System

Network communication (protocol)

All network communication are done via XML documents.
Every XML document is terminated by the zero character ('\0' in c/c++)
Sending the zero character to a process will reset it, and thereby cleaning up all mess made by illegal documents. A connection can only be created in client-mode, and will exists as long as the client intends it to.
A server listen will run in a read loop until the client terminates the connection.
Experimental: The server must reply to all request with an answer, no matter if the preceding processing went well or not.

TODO

  • Make sql comm functions for the lua programs (e.g. for the cpr server).
  • Rewrite server to utilize read loop.
  • Replace xerces-c with eXpat.
  • Make sql comm functions for the lua programs return all results and not just the first one.
pentominos/pentominos.1222776457.txt.gz · Last modified: 2008/09/30 14:07 by deva