Timeout on system net webclient

J

Jon

Hi
using vb.net/vis studio 2003

Im using system net webclient to pull data from some other web sites, works
well with 1 but - I'd like to be able to set a short timeout on the request.
There doesn't to be a timeout property - I used to use msxml2.serverxmlhttp
under asp which allowed setting a timeout. Is it possible to use asp
components with .net or is there a better to do this?

Cheers,
Jon
 
E

Eric Lawrence [MSFT]

Use HTTPWebRequest and HTTPWebResponse?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jon

just the job - thanks Eric

Jon

Eric Lawrence said:
Use HTTPWebRequest and HTTPWebResponse?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top