perfectxml.com
 Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
home » focus » msxml » ask a question » past questions & answers Friday, 12 October 2007
 
NEWS
MSXML 4.0 SP2 now available!

 
MSXML
Basics
DOM
SAX
XPath
XSLT
Schemas
SOM
HTTP Access
.NET
Data Islands
Ask a Question
   Past Q&As
C++ Samples
DLL/Version Info
Reference Guide
Books
KB Articles
   HOW TO
   SAMPLE
   INFO
   BUG/PRB
   FIX
   Misc.
MSXML Tips
   August 2002
   September 2002
MSXML Tools

Microsoft XML Core Services


Go back to list of previously asked questions and answers

Question: I am using MSXML 4.0 HTTP Access functionality (IServerXMLHTTPRequest). How do I specify the timeout settings?
Asked By: Colin Crawford
Viewed: 4369
Answer: When using ServerXMLHTTP40 to do asynchronous HTTP access, instead of polling the readyState property, the better approach is to use the waitForResponse method and pass it the timeout value (in seconds).The default timeout value is infinite (-1). Click here for more details on this.

For synchronous HTTP access using ServerXMLHTTP40, you may call the setTimeouts method before calling the open method. This method allows specifying timeout settings (in milliseconds) for resolving the domain name, establishing the connection to the server, sending the data, and receiving the response. Click here for more details on this.

Related Readings:

INFO: Visual C++ Application Using ServerXMLHTTP or XMLHTTP in Async Mode Must Pump Messages (Q303326)


Go back to list of previously asked questions and answers
  Contact Us | E-mail Us | Site Guide | About PerfectXML | Advertise ©2004 perfectxml.com. All rights reserved. | Privacy