Navigation:  thinBasic Modules > TcpUdp (Networking) >

IP_FromString

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the numeric representation of a IP giving an IP string in the form x.y.z.w.

 

Syntax

 

n = IP_FromString(AnIpAddressString)

 

Returns

 

Numeric.

 

Parameters

 

Name

Type

Optional

Meaning

AnIpAddressString

Number

No

IP string in the form x.y.z.w

 

Remarks

 

Restrictions

 

See also

 

Examples

 

USES "tcpudp"

 

Dim lIP AS DWORD

 

lIP = IP_FromString("127.0.0.1")