Difference between revisions of "Midware TAppServer.Server"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppSrvClient -> [[Midware_TAppSrvClient.Server | Server]…')
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''property''' Server: '''String''';
+
  '''property''' Server: String;
  
 
== Description ==
 
== Description ==

Revision as of 12:34, 14 May 2011

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'.