Name

tcpip_gethostbyname — Returns IP address by host domain name

Synopsis

varchar tcpip_gethostbyname ( in name varchar );

Description

This calls the system function gethostbyname() and returns h_addr from the hostent structure or empty string if no hostent structure returned (host not exists).

Parameters

name

DNS name of the host

Return Types

A string containing IP address of the host or empty string if not exists