Previous Up Next

_gethostbyname
This is the usual BSD function. It converts a name into an IP address. This can be quite long, because it requests the DNS server. If computer has problem to access the DNS (by example if it is not connected to internet), it can take about 1 minute.

S _gethostbyname (
S _name_
)
Parameters

_name_
name of an internet computer (such as 'www.cryo-networks.com')
Return value

IP address