|
|
@@ -167,7 +167,7 @@ namespace ServerV2
|
|
|
}
|
|
|
break;
|
|
|
case "9": //alles doorsturen voor de dokter
|
|
|
- //insert code to send list
|
|
|
+ Communication.SendMessage(client, FileIO.JsonConverter.GetUsers(users));
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
|
@@ -176,6 +176,19 @@ namespace ServerV2
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ class Client
|
|
|
+ {
|
|
|
+ public TcpClient tcpClient;
|
|
|
+ public string username;
|
|
|
+
|
|
|
+ public Client(TcpClient tcpClient, string username)
|
|
|
+ {
|
|
|
+ this.tcpClient = tcpClient;
|
|
|
+ this.username = username;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|