Front end to the socket %gethostbyname() function.
port = (unsigned int) %getnamedhos(host);
This function returns the host id or -1 if an error occurs.