I am writing a usenet newsreader, and calling the XOVER id-
message to get all articles in a group.
If i am using this code, i am only getting the first 5kB of the response:
while((read = _networkStream.Read(buffer, 0, 5000)) > 0)
{
ret += Encoding.ASCII.GetString(buffer, 0, read);
if(read < 5000)
break;
}
But if i add Thread.Sleep(100);
into the loop, i get the whole list.
Can i do this another way?