Server Property

Example


Applies to
TRPCBroker component

Declaration

property Server:  string

Description
This property contains the name or Internet Protocol (IP) address of the server computer. If the name is used instead of the IP address, Windows Winsock should be able to resolve it. Winsock can resolve a name to an IP address either through the Domain Name Service (DNS) or by looking it up in the HOSTS file on the client workstation. In the case where the same name exists in the DNS and in the HOSTS file, the HOSTS file entry takes precedence. Changing the name of the server while the TRPCBroker component is connected disconnects the TRPCBroker component from the previous server.

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.