IP_ToString

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TcpUdp (Networking) >

IP_ToString

 

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)