Your own IP adress

How do I do to get my own IP-adress?
t0m3kAsked:
Who is Participating?
 
ZifNabCommented:
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
 
ZifNabCommented:
Oops, forgot F.Piette's webpage url :
http://www.rtfm.be/fpiette/indexuk.htm

I must say, these are my favorite internet components.
0
 
tleforgeCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.