How does read(buffer, offset, length) actually work, if i pass the length to read as 32, does that mean that it would keep blocking till it receives the 32 bytes?
I unde
The question about the timeout would appear to still be unanswered.
The answer is that you can set stream.ReadTimeout and stream.WriteTimeout, where stream is your NetworkStream object. This handles the blocking case of no response at all. Without setting these values, the stream will wait indefinitely.