where ip-addr has the form where each n is an integer from
0 to 255. If the port-num argument is not provided, then it is
assumed to be the same port as the invoking node. getHostByName
attempts to resolve this name into a value of the PLAN
type. Raises an
exception on failure.