Subject Re: [firebird-support] Specifying a source ip address in a connect string?
Author Helen Borrie
At 09:25 PM 4/02/2004 +0000, you wrote:
>Is there anyway to have firebird's client library runnin gon linux
>connect to a remote database with a specific source address? If I
>have specific routes that are not located in the main route table,
>but a relocated in a secondary route table. firebird clients cannot
>utilize these routes unless the socket is connected or bound using a
>specific source address and not IN_ADDR_ANY. Is there anyway to do
>this?

What do you mean by "specific source address"?

The client can connect to the host machine via TCP/IP if the host is
listening, otherwise not. Your client can connect using the IP address of
the host or the host name, whether the server is on Linux or
Windows. There is a difference between the file paths, of course.

Linux server:
123.456.789.1:/path/to/the/database
or
bigmomma:/path/to/the/database

Windoze server:
123.456.789.1:D:\path\to\the\database
or
bigmomma:D:\path\to\the\database

In Firebird 1.5 you can also bind the host address to a particular network
device using the RemoteBindAddress parameter.

/hb