Subject | Re: [firebird-support] Testing the Presence of a Server |
---|---|
Author | Stefan Heymann |
Post date | 2007-07-10T12:45:19Z |
Thanks, Paul.
approach? IB6.0 and up?
Regards
Stefan
--
Stefan Heymann, Tübingen, Germany
> You can call isc_service_attach() to verify a user name and password.What versions of Firebird and InterBase would be covered by this
> Even if the credentials are wrong, the answer will tell you if there's
> a Firebird service manager at the other end.
approach? IB6.0 and up?
> I'm not sure if you can distinguish the absence of a service managerOK, I'll give that a try.
> from the total absence of a Firebird server though; you'd have to try
> that out. If there's no difference, you could test for server presence
> with the (deprecated) function isc_add_user(), supplying a nonsense
> SYSDBA password. This isn't a service manager function, so any
> Firebird server will respond to it.
Regards
Stefan
--
Stefan Heymann, Tübingen, Germany