Merge branch 'develop' of https://github.com/SemvdH/Proftaak-RH-B4 into develop
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user