Timeout on system net webclient

  • Thread starter Thread starter Jon
  • Start date Start date
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
 
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.
 
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.
 
Back
Top