INET_Internet_QueryOption

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > INet >

INET_Internet_QueryOption

 

Description

 

Queries an Internet option on the specified handle.

 

Syntax

 

sRetValue = INET_Internet_QueryOption(hInternet, lOption)

 

Returns

 

Function return a string that in many cases will be a valid number.

If function fails, it returns an empty string

 

Parameters

 

Name

Type

Optional

Meaning

hInternet

Number

No

The handle to the current Internet session. The handle must have been returned by a previous call to INET_Internet_Open.

lOption

Number

No

Internet option to be queried.

Supported options:

%INTERNET_OPTION_CONNECT_TIMEOUT

%INTERNET_OPTION_SEND_TIMEOUT

%INTERNET_OPTION_CONTROL_SEND_TIMEOUT

%INTERNET_OPTION_RECEIVE_TIMEOUT

%INTERNET_OPTION_CONTROL_RECEIVE_TIMEOUT

%INTERNET_OPTION_DATA_SEND_TIMEOUT

%INTERNET_OPTION_DATA_RECEIVE_TIMEOUT

 

 

Remarks

 

Restrictions

 

See also

 

Examples