?
Solved

Getting IP with TIdHTTP

Posted on 2002-06-03
2
Medium Priority
?
432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Jacco earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

801 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