Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Your own IP adress

Posted on 1998-10-23
3
Medium Priority
?
172 Views
Last Modified: 2010-04-03
How do I do to get my own IP-adress?
0
Comment
Question by:t0m3k
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 total points
ID: 1344153
Hi t03mk,

Go to F.Piette's place and download his card-ware library ICP.

Look at the TWSocket component and use LocalIPList.

Or if you want to use D3 internet components, then use TCustomWinsocket and use property LocalAddress

Regards, Zif.


0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1344154
Oops, forgot F.Piette's webpage url :
http://www.rtfm.be/fpiette/indexuk.htm

I must say, these are my favorite internet components.
0
 

Expert Comment

by:tleforge
ID: 1344155
Or if you're in D4 you can, similarly, use the new TPowerSock component and simply use its LocalIP property.  

Example: Form1.Caption := PowerSock1.LocalIP;
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
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…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

963 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