Products

Price/Order

Support

Partners

Testimonials

Test Results

About us

Contact
 Request.Header
Bottom
 
Total posts: 2
 Author Request.Header
Bruce Michener

10.07.2007 06:36:55
Registered user
How does one go about retrieving the Requestor's IP/Host address when in the TRtcFunction.OnExecute event?
Danijel Tkalcec [RTC]

10.07.2007 13:40:22
Registered user
In the OnExecute event, you also get the "Sender:TRtcConnection" parameter,
which you can typecast to TRtcHttpServer(Sender) on the Server.

To check Client's IP address, use:
  Sender.PeerAddr

To check Request properties, use:
  TRtcDataServer(Sender).Request

Best Regards,
Danijel Tkalcec