Subject | Re: Determine Application is running on Server |
---|---|
Author | Adam |
Post date | 2005-09-25T23:41:13Z |
--- In firebird-support@yahoogroups.com, "Steve Harp" <steve@h...>
wrote:
address(es) of the local machine using Delphi (google how).
However it might also contain a domain name or some other host name.
This can be converted to a real IP address using one of the Indy
components (google how)
Adam
wrote:
> Hi All,Is embedded Firebird an option?
>
> I have a customer that wants certain process restricted to the
> computer that is actually running the Firebird Server (not client
> machines).
> The way I'm currently doing this is by checking theI
> TIB_Connection.Server property and, if it's 127.0.0.1 or localhost,
> let the process run. Is there a better way? I can see this failingIts a bit tricky, I mean you could relatively easily get the IP
> if the server property contains the computer's local IP address
> instead of indicating local host.
address(es) of the local machine using Delphi (google how).
However it might also contain a domain name or some other host name.
This can be converted to a real IP address using one of the Indy
components (google how)
Adam