Merge branch 'feature/jsonForWords' into fix-async-stuff

This commit is contained in:
Sem van der Hoeven
2020-10-22 16:37:05 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ namespace Client
expectedMessageLength = BitConverter.ToInt32(totalBuffer, 0);
}
ar.AsyncWaitHandle.WaitOne();
stream.BeginRead(buffer, 0, buffer.Length, new AsyncCallback(OnReadComplete), null);
}