protocol = GetConnectionProtocol(id[, port])
id. This can either be the identifier of a server connection obtained by a call to OpenConnection(), the identifier of a client connection obtained by listening to the
OnReceiveDataevents using InstallEventHandler(), or it can be the identifier of a UDP object created by CreateUDPObject().
The optional argument
type specifies the type of the network object passed in
argument 1. The following types are currently supported by this function:
OnReceiveDataevents that can be installed using the command InstallEventHandler().
If you omit the optional
type argument, it will default to type
The return value will be one of the following predefined constants:
#IPV6is currently unsupported on AmigaOS and compatible systems.