ListenerPort Property

Example


Applies to
TRPCBroker component

Declaration

property ListenerPort:  integer;

Description
This property gives the developer the ability to select the Listener port on the server. It must always be set before connecting to the server.

If one server computer has two or more environments (UCIs) which support client/server applications (e.g., Test and Production accounts), the Broker Listener processes must be listening on unique ports. Thus, you must specify which Listener port to use when you start the Listener on the server. Consequently, if you have more than one Listener running on the same server, the application needs to specify the correct Listener for its connection request. This is accomplished using the ListenerPort property.

You can use the Broker Programmer Preferences Editor (BrokerProgPref.Exe) to set the default value for this property when you add a TRPCBroker component to your form.