%getnamedhost() Function

Front end to the socket %gethostbyname() function.

Syntax

port = (unsigned int) %getnamedhos( host );

Parameters

host

String host name.

Description

This function returns the host id or -1 if an error occurs.