Merge branch 'develop' of https://github.com/SemvdH/Proftaak-RH-B4 into develop

This commit is contained in:
Sem van der Hoeven
2020-10-09 12:02:34 +02:00
7 changed files with 30 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
using Client;
using ClientApp.Utils;
using System;
using System.Collections.Generic;
using System.IO.Pipes;
@@ -31,7 +31,7 @@ namespace Server
private void OnConnect(IAsyncResult ar)
{
var tcpClient = listener.EndAcceptTcpClient(ar);
Console.WriteLine($"Client connected from {tcpClient.Client.RemoteEndPoint}");
clients.Add(new Client(this, tcpClient));