sweeeeeeeettt - no need to alther the headers anymore, w000t (for the client->gcn.cemetech.net communications)

i conviced Kerm to switch to a new web connection setup completely, which has 3 parts. The client (what the calc connects to), gcn.cemetech.net, and various servers (which are what the client connects to)

instead of gcn.cemetech.net acting the sole server, it would instead switch to a directory listings of sorts. It will now store a list of all active servers. When a client wants to join the network, it gets a list of servers from gcn.cemetech.net, and then connects to one of the servers. The servers will directly share data between each other. For example, if a find-user is requested by a client, the server that the client is connected to will first check its own user list. Failing to find one, it then sends the find-user request to other servers until the user is either found, or it runs out of other servers to connect to.

the client and servers will both be written in C++ using wxWidgets, and will "talk" to each other via sockets on a specific port. This will greatly increase performance, as the connections will be "kept alive", so that a "reconnect" isn't needed for every request by the client

This new system will greatly increase flexibility, performance, and expandibility.

Solutions to various problems:
1) What if no server exists?
-The client will "transform" itself into a client AND a server, and then proceed to connect to itself

2) What if a server is disconnected or shuts down?
-If either a sudden disconnect happens, or the server announces it is shutting down, then the clients of that server will automatically re-connect to a different server

3) [your question here?]
Very nice, glad we were able to work that out. And the authentication is kosher then?
KermMartian wrote:
Very nice, glad we were able to work that out. And the authentication is kosher then?


i believe so...

just hammer out a PHP script to handle it all, and lemme know the URL and commands/options please! (either via PM or here, i don't care) - i figured the URL would be gcn.cemetech.net, but i don't know if you want to make the php script something besides index.php?
I can't promise the timeliness of this until I make some headway on SC2...
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement