Purpose
Sets the time-out options for the Internet session.
Syntax
MISetSessionTimeout( ByVal hSession As CInternetSession,
ByVal Connect As Integer, ByVal Send As Integer,
ByVal Receive As Integer ) As SmallInt
hSession is the CInternetSession object handle.
Connect is an integer that contains time-out value in millisecond to use for the Internet connection request.
Send is an integer that contains the time-out value in milliseconds to use for sending a request.
Receive is an integer that contains the time-out value in milliseconds to use for receiving a request.
Return Value
Nonzero if successful; otherwise 0. To determine the cause of the failure, call the MIGetErrorMessage() function.
Description
Use this function to set time-out values for the Internet session. The default value of each setting (Connect, Send, Receive) is 0. For detailed information, refer to the Microsoft MSDN library.