IP_FromString

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TcpUdp (Networking) >

IP_FromString

 

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")