mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Later work on multiple sessions
This commit is contained in:
parent
c7a4cfbadd
commit
a00acaa35e
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user