Difference between revisions of "Midware TAppServer.Server"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
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. | 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'. | If server and client are on the same computer, use 127.0.0.1 or 'localhost'. |
Latest 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'.