Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timeout

Status
Not open for further replies.

jonassandman

Programmer
Dec 21, 2005
1
SE
Is it possible to set a timeout value for a Stream.Read?
 
As far as I know, you can call a Timeout on HttpWebRequest which uses a stream to get its data, but not on a Stream or StreamReader itself.

You could setup something to check time as a timeout while the stream reading was taking place.

Maybe someone else has a different answer.

----------------------------------------

TWljcm8kb2Z0J3MgIzEgRmFuIQ==
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top