Delphi iOS IPv6 App Store Rejection -


we using rad studio 10.0 seattle build ios app gets data via web services. since apple requires apps support ipv6 1 jun 2016, our app update has been rejected.

we using wsdl importer create web service class in rad studio , call web services. when app connects ipv6 network, throws socket error #51 network unreachable....

does know how fix issue?

try func:

function gethost(host: string): boolean; begin   result := '';   try     gstack.resolvehost(host, tidipversion.id_ipv6);     result := '[' + host + ']';   except     gstack.resolvehost(host, tidipversion.id_ipv4);     result := host;   end; end; 

add in uses "idstack" , "idglobal"

you must pass host (www.google.com example) , func return result or without '['.

now, must use it... 'http://' + gethost('www.google.com')

if in ipv6 network final string (http://[www.google.com])


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

python 3.5 - Pyqtgraph string in x tick -