How long will NetworkStream Read wait, before dying?
Posted
by Kugel
on Stack Overflow
See other posts from Stack Overflow
or by Kugel
Published on 2010-04-16T11:28:41Z
Indexed on
2010/04/16
11:33 UTC
Read the original article
Hit count: 418
I have a call to Read
on NetworkStream
objeck, which uses Socket.Receive
internally.
Say that no data is comming in. How long before the Read Method exits?
ReceiveTimeout
is set to 0 (infinite timeout).
What if I unplug the internet cable? Will it exit?
© Stack Overflow or respective owner