Solved

Getting IP with TIdHTTP

Posted on 2002-06-03
2
412 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
Comment Utility
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
Comment Utility
Thank you Jacco :o)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now