Since Apple has forced the new app to support Ipv6 this year, many apps that need web support will not be available on the shelves.
We will not say anything else, first talk about KBMMW, how to solve the problem.
To test whether your app supports IPv6, first build a IPV6 test environment, the simplest way is to use your Mac to generate a
A shared virtual Ipv6 network. Specific building methods refer to this blog post:
Http://www.cocoachina.com/ios/20160525/16431.html
The rest is in your app, is it possible to access the remote server through this network? If there is no problem, OK.
Because you use IPV6 to access a remote server, you cannot use IPV4 's IP address to access the server, so no matter whether your server is running on
Under what circumstances, please use the domain name to access the remote server!
The default network access component for KBMMW Indy. In fact, D10.1 band Indy is to support IPV6. But the KBMMW encapsulates the client Indy
IPV6 is not considered, resulting in IPV6 not supported by default. So what we're trying to do is let Tkbmmwtcpipindyclienttransport
Support IPV6.
Let's change the parent class of tkbmmwtcpipindyclienttransport and the corresponding function.
There are, of course, other modifications to the corresponding sections.
When you are finished modifying. The KBMMW client will be able to support access via Ipv6 on iOS.
Use IPV4 access to indicate that a connection cannot be
With IPV6, normal access OK. It's that simple. In addition, say two more sentences: 1, use Httpsys as the transmission way of classmates, do not worry. Httpsys can support iOS IPv6 without making any changes:). 2, the use of RTC students, the current RTC in iOS IPv6 temporarily not, the author is ready to implement IPV6 for iOS alone. Time is undecided.
Resolution of IOS IPV6 in KBMMW