Midware TAppServer.Server

From Overbyte
Revision as of 07:59, 3 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TAppSrvClient -> [[Midware_TAppSrvClient.Server | Server]…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'.