This documentation is archived and is not being maintained.

CAtlNavigateData::SetSocketTimeout

Visual Studio .NET 2003

Call this method to set the socket timeout value.

DWORD SetSocketTimeout(
   DWORD dwNewTimeout 
) throw( );

Parameter

dwNewTimeout
The new timeout in milliseconds.

Return Value

The previous timeout value. The default socket timeout is determined by ATL_SOCK_TIMEOUT.

Remarks

The socket timeout value determines how long the underlying socket implementation is to wait for server responses before abandoning each operation.

See Also

HTTP Client Services | CAtlNavigateData Overview | Class Members | HTTP Client Reference

Show: