Later work on multiple sessions

This commit is contained in:
Tristan B. Kildaire 2021-01-28 11:14:37 +02:00
parent c7a4cfbadd
commit a00acaa35e
1 changed files with 17 additions and 0 deletions

View File

@ -844,11 +844,28 @@ public class DConnection : Thread
*/
private bool authenticate(string username, string password)
{
/* TODO: Check username and password */
/* TODO: Multi-client/session support */
/* TODO: Implement me */
this.username = username;
/* TODO (Sessions): Generate a session ID for this connection */
return true;
}
private uint generateSessionID()
{
/* TODO: Basically find a number that isn't taken by matching usernames */
}
private uint getMySessionID()
{
/* TODO: */
}
/**
* Get member count
*