TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
worldisflat
NA
7
0
Timeout not being respected
Nov 6 2012 9:49 AM
Hi,
I am writing a program that downloads websites including caching images. I have put a 3 second timeout on the request (see link for code). Despite specifying a timeout the program will occasionally block/hang for a minute or more on the line
myImg
=
System.
Drawing
.
Image
.
FromStream
(
response
.
GetResponseStream
())
;
http://pastebin.com/JDj72rF2
Reply
Answers (
0
)
Why wont this randomly generate for each loop?
How to use query parameters to access a datatable?