diff --git a/MistoxServer/Client/TCPClient.cs b/MistoxServer/Client/TCPClient.cs index 110d6fa..b152298 100644 --- a/MistoxServer/Client/TCPClient.cs +++ b/MistoxServer/Client/TCPClient.cs @@ -14,6 +14,7 @@ namespace Mistox.Client { private readonly SemaphoreSlim _sendLock = new SemaphoreSlim(1, 1); public mTCPClient( MistoxClient parent, IPEndPoint ServerAddress ) { + _parent = parent; _connection = new TcpClient( AddressFamily.InterNetwork ); _connection.NoDelay = true; _connection.Connect( ServerAddress );