Re: [twsocket] How to enable IPv6 on client components?

2015-09-24 Thread Angus Robertson - Magenta Systems Ltd
> I have been searching the mailing list, unit notes, and web trying 
> to find out what needs to be done on the client side to enable 
> IPv6, if anything, but I haven't found anything definitive. Does it 
> all "just work" under the hood, or do I simply change the 
> components' SocketFamily property from sfIPv4 to sfAny, or is it 
> more involved than that?

I've been meaning to write notes about IPv6 for a long time, I've updated most 
of my
components and applications, except the Internet Packet Monitoring Components 
which
are 90% done, maybe next month, but also have some SSL improvements pending.  
And a
component to automatically install free SSL certificates.  

But essentially IPv6 just works once you set SocketFamily, several of the 
samples
have examples.  

One issue is presentation of IPv6 addresses, which usually have [] around them 
so a
browser looks them up instead of searching Google, so I wrote a simple 
formatting
function that creates [2a00:14f0:e03d:2::142]:21 if the IP address is IPv6, and
another that strips the brackets.   

My public server has IPv6 versions of the ICS web and FTP servers for testing.  
I
now have my own IPv6 address allocations, but still use free Sixxs IPv6 tunnels 
for
testing due to firewall configuration issues.

BTW, none of my customers have ever asked about IPv6.

Angus
   

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] How to enable IPv6 on client components?

2015-09-24 Thread Jeff Hamblin
I have several applications that use the HttpCli, SmtpCli, and FtpCli 
components. They've been working quite well for years and years on the 
last revision of ICS v6, with Delphi 2007. While refreshing these 
applications recently, it seemed like a good time to get them ready for 
IPv6.


I updated ICS to the latest SVN of v8, and was quite pleased that 
rebuilds of the applications went flawlessly in D2007 and they still 
perform as expected. So many thanks to Angus, Arno, François, and 
everyone else for your hard work over the years keeping things backwards 
compatible.


I have been searching the mailing list, unit notes, and web trying to 
find out what needs to be done on the client side to enable IPv6, if 
anything, but I haven't found anything definitive. Does it all "just 
work" under the hood, or do I simply change the components' SocketFamily 
property from sfIPv4 to sfAny, or is it more involved than that?



-Jeff
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be