Dod wrote:
> Next  time i'll see Bill Gates, I'll ask him to implement some Wininet
> IsLocalAddr function !

Possibly usefull: ICS v6 function WSocket2IsAddrInSubNet in 
OverbyteIcsWinsock2.pas?

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html 



> 
> regards.
> 
> 
>>> 
>>> OK  thanks  i'll look at it. My need is very basic as it is only to
>>> be sure to download a file from specific URL, so no script envolved.
> 
> ML> A script could be involved if "Automatic detect settings" is set,
> and is ML> involved if "Use automatic configuration script" is set.
> 
>>> I  think it can be done with regexp (or basic '*' masked string
>>> search routine) on exception list, getting all IP attached to
>>> network card(s) (with  netmask) and excluding proxy if IP is inside
>>> any of the mask of the IP(s).
> 
> ML> This could work for local addresses.
> ML> But if you have more than one interface (real NIC, emulated NIC
> or dial-up) the ML> problem is that you should detect which interface
> will be used to reach a ML> specific IP, since each dial-up has it
> own proxy settings while there are only ML> one for the LAN.
> 
> ML> I never had this situation so I delayed to "solve" it :-)
> 
> 
> ML> Bye, Maurizio.
> 
> ML> ----------------------------------------------------
> ML> This mail has been sent using Alpikom webmail system
> ML> http://www.alpikom.it
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to