Great job on doing so much in-code commenting. It helps so much when you have to go into code months/years later. I hope you don't mind a couple suggestions.
If you use XML comments for each method instead of the older style comments, then they can be picked up by code documenting applications as well as intellisense.
XML documentation MSDN XML Documentation Article
For this piece of code with old school C style comments:
- //--------------------------------------------------------------------------------
-
// # Name : ProcessListen
-
// # Desc : Listen to new Clients accsept them and call OnConnect
-
// # Status : Finished
-
//--------------------------------------------------------------------------------
-
-
private void ProcessListen()
-
{
-
while (m_ListenVar.m_Factor)
-
{
-
if (m_Listner.Pending())
-
{
-
TcpClient Client = m_Listner.AcceptTcpClient();
-
OnConnect(Client);
-
-
}
-
// ----
-
Thread.Sleep(m_ListenVar.m_Idle);
-
}
-
}
After you have entered the method, go back to the line above (line 6 in this case) and type 3 slashes ///
Visual Studio will stub in the rest of the comment. Any time you type a < symbol you will see a list of other comment tags you can use, such as the <remarks> tag I put in. You can see that when SomeOtherMethod calls or references the method with the XML tags the description is shown in Intelisense

Second suggestion: Use #region / #endregion
#region and #endregion are used to surround a block of code that has a common purpose. The beauty of it is that you can collapse regions just like methods. They keyboard combination of [Control]M [Control]O will collapse the entire document at once. I make it a habit of open a page then collapse it all so I don't have to scroll through meters of code. Just open the region I need, then open the method I need. Its all about keeping organized.
