Navigation:  ThinBASIC Modules > INet >

INET_GetIpType

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the type of IPs.

 

Syntax

 

ipT = INET_GetIpType(Idx)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

idx

Number

No

Index to the requested IP information.

 

Remarks

 

Retruned values can be one of the following predefined values:

%MIB_IPADDR_PRIMARY
%MIB_IPADDR_DYNAMIC
%MIB_IPADDR_DISCONNECTED
%MIB_IPADDR_DELETED
%MIB_IPADDR_TRANSIENT
%MIB_IPADDR_DNS_ELIGIBLE

 

Restrictions

 

See also

 

INET_GetState, INET_GetIp, INET_GetSubnet

 

Examples