diff --git a/source/dnetd/dconnection.d b/source/dnetd/dconnection.d index 247676c..22cdd57 100644 --- a/source/dnetd/dconnection.d +++ b/source/dnetd/dconnection.d @@ -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 *