Name
SetNetworkProtocol -- set default network protocol (V8.0)
Synopsis
SetNetworkProtocol(protocol)
Function
This function can be used to set the Internet protocol to be used by functions like OpenConnection(), CreateServer(), CreateUDPObject() and DownloadFile() if no explicit protocol has been requested.

You have to pass the desired default Internet protocol in the protocol argument. This must be one of the following special values:

#IPV4:
Use Internet Protocol version 4 (IPv4). IPv4 addresses are limited to 32 bits and are represented using four numbers separated by three dots, e.g. 127.0.0.1.

#IPV6:
Use Internet Protocol version 6 (IPv6). IPv6 addresses use 128 bits and are represented by eight groups of four hexadecimal digits, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Note that #IPV6 is currently unsupported on AmigaOS and compatible systems.

#IPAUTO:
Let the host operating system determine the Internet protocol to use.

Due to historical and portability reasons, #IPV4 is the default network protocol Hollywood will use. If you want to change this default, call this function.

Inputs
protocol
desired new default Internet protocol to use

Show TOC