Resolution of IOS IPV6 in KBMMW

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.