ip$ = ToIP(host$[, protocol])
Starting with Hollywood 8.0, there is an optional new
which allows you to specify the Internet protocol that should be used for
the resulting IP address. This can be one of the following special constants:
#IPV6is currently unsupported on AmigaOS and compatible systems.
protocol argument defaults to the default protocol type set using
SetNetworkProtocol(). By default, this is
#IPV4 due to historical and portability reasons. See SetNetworkProtocol for details.
To resolve a host name with advanced functionality, take a look at the ResolveHostName() function. See ResolveHostName for details.