I've following code:
_clientRequestStream = _tcpClient.GetStream();
var memoryStream = new MemoryStream();
_clientRequestStream.CopyTo(memoryStream);
CopyTo
takes long long long time to copy a Stream
into another Stream
. It seems application stops there without any reason or at least I couldn't find the reason.