Re: [twsocket] How can I know the IP address?

2012-12-17 Thread Raymond Kennington
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 :

Re: [twsocket] Did I find a bug in THttpCli? (Beta fix available for download)

2012-12-17 Thread Albert Wiersch
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

Re: [twsocket] How can I know the IP address?

2012-12-17 Thread Arno Garrels
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