Which broker port is my client connected

Posted by ke@iap.de on 21-Oct-2015 11:07

I have a questions... :)

Assume I start a server: proserve mydb -S 4000

Then I start a client: prowin32 mydb -H localhost -S 4000

How do I find the broker port inside the client session?

I believe there is some attribute somewhere which gives me the connect information (as a string). But I can not find it. I also looked into the VSTs, but did not find this in the _servers or other tables.

The reason I would like to know this is, if I have multiple instances of a DB on a server, the port will allow me to detect which of these the client is connected to.

Any help welcome.

Klaus

Posted by Brian K. Maher on 21-Oct-2015 11:15

You want the DBPARAM function

All Replies

Posted by Brian K. Maher on 21-Oct-2015 11:15

You want the DBPARAM function

Posted by ke@iap.de on 22-Oct-2015 08:37

That is, what I searched :)

Thanks!

This thread is closed