Navigation:  thinBasic Modules > TcpUdp >

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

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com