Solved

Getting IP with TIdHTTP

Posted on 2002-06-03
2
425 Views
Last Modified: 2010-04-04
Hi, how can I get the IP of the server I connect to with TIdHTTP? I tried to look in the header, but I didnt find it.
0
Comment
Question by:pede
2 Comments
 
LVL 10

Accepted Solution

by:
Jacco earned 50 total points
ID: 7051628
Hi pede,

  IdHTTP1.Host := 'www.borland.com';
  IdHTTP1.Connect;
  Memo1.Lines.Add(IdHTTP1.Binding.PeerIP);
  IdHTTP1.Disconnect;

Regards Jacco
0
 
LVL 1

Author Comment

by:pede
ID: 7053593
Thank you Jacco :o)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 79
How to build JSON File in Delphi 6 3 66
Firemonkey Queue list 1 25
Way to create an iPhone app for my customers 8 37
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question