Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: FireDAC and DataSnap - Local Port


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jan 20, 2016 4:52 AM Last Post By: Luiz Paulo Gril...
Luiz Paulo Gril...

Posts: 24
Registered: 4/24/14
FireDAC and DataSnap - Local Port  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 15, 2016 7:30 AM
Hello,

I have an application where I use TFDConnection to connect to a DataSnap Server.
Once I am connected to the DataSnap Server, is there a way to discover on which local port my Client Application is listening to DataSnap Server messages? Is there a TFDConnection property or method I can use to retrieve this information?

Thanks.
--
Luiz Paulo Grillo Brandão
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: FireDAC and DataSnap - Local Port  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 19, 2016 5:31 AM   in response to: Luiz Paulo Gril... in response to: Luiz Paulo Gril...
I really dont know. You can get reference to TDBXConnection using
TDBXConnection(FDConnection.CliObj). Then you can dig on your
own and try to get required info.

--
With best regards,
Dmitry
Luiz Paulo Gril...

Posts: 24
Registered: 4/24/14
Re: FireDAC and DataSnap - Local Port  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 20, 2016 4:52 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev
Dmitry Arefiev wrote:
I really dont know. You can get reference to TDBXConnection using
TDBXConnection(FDConnection.CliObj). Then you can dig on your
own and try to get required info.

Thanks for your suggestion Dmitry. I did that, but I was not able to get Information about the Client Socket when connected to a DataSnap Server.

I'll keep searching on the web about it.

Best Regards
--
Luiz Paulo Grillo Brandão
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02