Update ClientSocket.cs

This commit is contained in:
NYAN CAT 2019-05-10 10:13:37 -07:00
parent 73acd52efe
commit d0db7be786

View File

@ -126,6 +126,8 @@ namespace Client.Sockets
MS.Dispose();
MS = new MemoryStream();
}
else
Buffer = new byte[Buffersize - MS.Length];
}
Client.BeginReceive(Buffer, 0, Buffer.Length, SocketFlags.None, ReadServertData, null);
}