Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7839611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:29:39+00:00 2026-06-02T15:29:39+00:00

I have a webservice implemented using RemObjects over Delphi XE and I want to

  • 0

I have a webservice implemented using RemObjects over Delphi XE and I want to know the ip address of the clients petitions. My service inherits from TRORemoteDataModule and I haven’t found any method or object to do that.

Any suggestion?
Thanks

Note: I think that the information that I need is returning in the method self.transport.GetTransportObject() but it returns a TObject and I don’t know how to extract this information

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T15:29:40+00:00Added an answer on June 2, 2026 at 3:29 pm

    This is how I get it from a SuperChannel:

    procedure TMyInterface.RORemoteDataModuleGetDispatchInfo(const aTransport: IROTransport; const aMessage: IROMessage);
    var
      tcpinfo: IROTCPTransport; 
      Session: TCustomSession;
      szClientIP : String;
    begin
      Session := TCustomSession(Self.Session);
      if Supports(aTransport, IROTCPTransport, tcpinfo) then
      begin
        szClientIP := tcpinfo.ClientAddress;
        if (not Session.ShownTCP) or (Session.TCPAddress <> szClientIP) then
        begin
          Session.TCPAddress := szClientIP;
          Session.Report(leInformation, 'TCP address ' + szClientIP); 
          Session.ShownTCP := True; 
        end; 
      end 
      else 
      begin 
        Session.Report(leInformation, 'TCP address not available');
      end;
    end;
    

    The specifics of what you do with it are up to you, but you have to get it as it is set up, and store it in the session object if you want to pick it up later. I implemented a custom session to hold the client Ip so that I could get it any time in further calls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a web service with server and client authentication using keytool. The
I have Restful web-service implemented using Apache CXF. Since I am going to use
I have successfully implemented rest webservice using apache wink. I am using ant to
I have implemented web service using rails server. The server uses rails default authentication
I have implemented the Ajax Autocomplete feature in my application using a web service
I have implemented a web service(.asmx) using .NET framework that returns me a hash
I have implemented a Webservice using Apache CXF . The flow is this way
I have just implemented an autocompletion for a textfield using an online webservice, based
I have implemented a ToString() override method for my class in my Webservice and
I have a web service implemented in WCF. This service is only going to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.