Navigation:  thinBasic Modules > TcpUdp (Networking) >

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)