Subject | Re: [firebird-support] about: how to detect if firebirdsql is running on server |
---|---|
Author | Elmar Haneke |
Post date | 2006-11-30T17:35:44Z |
> 1- using TCP Stack or TELNET i can't validate if the server is a FirebirdSQLTo do so you should read the protocoll implementation to try an
> server even if the (3050) TCP port is active;
Server-Connect.
> 2- using try/except block, (FBClient/GDS32) can HALT my applicationOn what condition an connect does hang.
On my experience there is an immidiate error message if there is no
Server on port 3050.
The error does come after an delay if the target host is unreachable.
There also is an error if I try to connect to an differnet port with
other software listening on (e.g. SMTP).
Elmar