set doctor of communication when doctor logs in

This commit is contained in:
Sem van der Hoeven
2020-10-14 14:49:53 +02:00
parent b519f33cb5
commit 91a20e0af7
5 changed files with 53 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ namespace Server
{
private TcpListener listener;
private List<Client> clients;
private Client doctor;
public Client doctor;
public Communication(TcpListener listener)
{
this.listener = listener;