Hi.
I used the function below (from the WWW).
It uses GetHostname in one of the paths, which you might find useful for
distinguishing the IP addresses.
Raymond
---
Dr. Raymond Kennington
function GetIPAddress(var IPAddress : String) : Boolean;
type
pu_long = ^u_long;
var
varTWSAData :
Arno Garrels wrote:
Well, I should have said not enough spare time to test it very
carefully Here is a fix that is briefly tested once without proxy
and once with squid proxy and NTLM authentication in V8 only:
http://delphi.duodata.de/archive/OverbyteIcsHttpProtV7-V8.zip
These units are
David Bridges wrote:
If I have a wired local area connection and some wireless connection
how can I know which I'm connected through? If I can obtain the IP
address of the adapter I'm connected through I could tell but can't
determine how to do that. I tried GetPeerAddr() but it's returning