Detect my own IP Address ?

If you've created a connection, you should be able to use the winsock
functions getIPaddress (I think it's called) - to get your IP address
and getPeerAddress to get the computer you're connected to.

You'll find the winsock.hlp file very useful  - it you haven't already
got it!


R. Barry Jones wrote:

> How can I detect my own IP address in delphi 1?

> Im currently using the sockets version 2 component which I got from
> the Super Delphi Page. Might use the tcpip component which Ive got
> from there if I ever get it to work.

> Barry
> Start your day with a quote!