Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter TwelveInternet Functions (continued)

ResolveHostName Function

Overview

The ResolveHostName function parses an incoming string to form an IPv4 dword.

Syntax/Parameters

Syntax

dword = ResolveHostName ( string name );

Parameters

name

A string specifying the host name.

Return Value

Returns a dword containing a translated IPv4 value or zero on failure. Use GetLastError and GetLastErrorMessage to retrieve additional information.

Remarks

This function will return the first IPv4 address associated with the DNS record for the host name. If the name parameter is empty, the information for the local computer is returned.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic