Use the
awGetDefaultBrokerPort function to obtain the default IP port number that will be used by the awNewBrokerClient and awReconnectBrokerClient functions when connecting to a Broker.
The default port is used for non-SSL connections and has a default value of 6849. The default port number is also used to calculate the port numbers shown below.
Port number
Description
default port number minus 1
Used for SSL connections without client authentication.
default port number minus 2
Used for SSL connections with client authentication.