IHTTPTransportAdv::Timeout Property

[propget] HRESULT Timeout([in] long timeOut);
[propput] HRESULT Timeout([in] long timeOut);

This get/sets the current timeout value [in milliseconds]. The same value is used for both the send and receive timeout. The default is 15 seconds.

 

Return Values

 

Sample Code

set t = CreateObject("pocketSOAP.HTTPTRansport.2")
t.SOAPAction = "http://soapinterop.org/"
t.Timeout = 30000
t.Send "http://soap.4s4c.com/ilab/soap.asp", test1Envelope
....

 

See Also

The IHTTPTransportAdv Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.