Heh, I really should have some better documentation up, especially on something like this that is farely static in the program.
I good hint is that if you see a function call, and there is no direct comment on it, go to the function definition and see if there is any documentation for that function there.
I will work as hard as I can at gearing up some better documentation, but at the moment, the single developer here, (moi), keeps a bit busy.
Lets see.... AcceptNewDescriptors() goes out and looks for any waiting new connections. PulseOutput() checks if anything is waiting to be sent to newly connected clients. PulseInput() cycles through all the current connections and fires off handler calls. ClearDeadDescriptors() goes through and cleans up disconnected clients.
Is that any clearer?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you possibly post an overview of how the MUD works?
Something like:
The GUI or Console create an instance of the cServerApp. A thread is started there that waits on connections the parses input. I see that:
pvNetworkSystem.AcceptNewDescriptors();
pvNetworkSystem.PulseOutput();
pvNetworkSystem.PulseInput();
pvNetworkSystem.ClearDeadDescriptors();
.. is core but what do those guys do?
Thanks,
Jeremy
Heh, I really should have some better documentation up, especially on something like this that is farely static in the program.
I good hint is that if you see a function call, and there is no direct comment on it, go to the function definition and see if there is any documentation for that function there.
I will work as hard as I can at gearing up some better documentation, but at the moment, the single developer here, (moi), keeps a bit busy.
Lets see.... AcceptNewDescriptors() goes out and looks for any waiting new connections. PulseOutput() checks if anything is waiting to be sent to newly connected clients. PulseInput() cycles through all the current connections and fires off handler calls. ClearDeadDescriptors() goes through and cleans up disconnected clients.
Is that any clearer?