Skip to content

network.GetAddrInfo

Resolves hostname to IP.

Syntax

network.GetAddrInfo(name:string)

Parameters

name Hostname to be converted to IP.

Return value

If successful, returns the IP as string, otherwise returns nil.