Hi,
How can I get the IP Address of an http client.
- I am using TROIndyHTTPServer on a datamodule
- I have descendants of TROExtendedHttpDispatcher which respond to post/get to various paths and are tied to the instance of TROIndyHTTPServer on the datamodule.
- I have searched through the code and there is no simple easy way to achieve this without deriving a new class because the code that processes the request hides the Indy object deep before the Process code in my TROExtendedHttpDispatcher is called.
a) uROIndyHTTPServer -> TROIndyHTTPServer.InternalServerCommandGet -> ProcessRequest
I have searched and all answers assume I am using a kind of message (Binary, JSON, etc) component or using the RO SDK Service modules.
Environment:
Delphi XE2
RO 6.
Windows 7
Any pointers would be appreciated.
Kind regards