Midware TAppServer.Server

From Overbyte
Jump to navigation Jump to search

Main page -> Midware component reference -> TAppSrvClient -> Server

Definition

property Server: String;

Description

This is the IP address or hostname for the application server. It is generaly much faster to use the IP address than the hostname because it avoid name resolution each time the communication is established. Name resolution takes time, specially if there are some problem with the DNS. It's better to get the IP address from the server host name at application startup and use the IP address after.

If server and client are on the same computer, use 127.0.0.1 or 'localhost'.