Type
Long Integer
Description
Determines the TCP/IP socket timeout value in seconds.
Example
REM put a 2-minute timeout on TCP/IP socket operations:
WebsterPro1.SocketTimeout = 2 * 60
Remarks
This timeout applies to each individual TCP/IP transaction (e.g. connect, accept data), not to the total time allowed to load a page or other object.
In the 32-bit control, when a negative value is specified for SocketTimeout then the absolute value of the number specified is used to set the timeout in seconds, and an additional safety feature is activated. This safety feature causes socket “connect” operations to be serialized in mutually exclusive fashion, which slows down overall network throughput in the multi-threaded 32-bit control but may prevent problems in some of the more fragile Winsock implementations. You should specify a negative value for SocketTimeout only if you are encountering thread hangs in Winsock or are experiencing system resource depletion during long browsing runs.
When SocketTimeout is set to zero, the timeout setting is not used for TCP/IP operations and so the system default remains in effect.