gCn Backend Written
Published by KermMartian 18 years, 1 month ago (2005-10-28T04:00:00+00:00) | Discuss this article

I completed writing the gCn backend this evening, so now it is ready. I have the data all ready for elfprince to write the host backend, and I plan to add a feature to the http://gcn.cemetech.net page to allow people to test the system manually. The backend does three functions: ADD, FIND, and REMOVE. The find command is the main one that networks use to communicate; in gCn, the Cemetech username of the client calc's owner is used as a unique identifier, much like an IP. However, it avoids the problem of IP conflict because only the person who owns the account has the password, and there are no duplicate usernames, so there should never be two calcs with the same identifier on the network at the same time. Servers, for example, shall be identified with a username just as any other device, and calculators will issue a find command to the host, which pings Cemetech, returning a value to the host that the host passes on to the requesting calc. Then the calc can communicate directly with the server it wants via the host. This saves me a ton of bandwidth, since my original plan was to have the gcn.cemetech.net dump a complete online list to a host with every LIST request (now the FIND command). Look for further progress in this vital component of Doors CS 6 soon.