Navigation:  thinBasic Modules > TcpUdp >

IP_ToString

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the string representation of a numeric IP.

 

Syntax

 

s = IP_ToString(nIP)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

nIP

Number

No

IP number to be represented as string

 

Remarks

 

Restrictions

 

See also

 

Examples

 

USES "tcpudp"

 

Dim lIP AS DWORD

 

lIP = HOSTNAME_TOIP("localhost")

MSGBOX 0, IP_TOSTRING(lIP)

 

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