IPv6 app適配

來源:互聯網
上載者:User

標籤:

參考資料:

https://developer.apple.com/library/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1

 

http://www.jianshu.com/p/a6bab07c4062#

http://www.jianshu.com/p/6c7a155fc372 講了三個方面:

1. 哪些層次的網路架構是還沒有相容 IPv6的。

2.AFNetWorking 中使用的一個 API 的注意事項, Added support for IPv6 to Reachability #3174

3. 不相容的 API,現在又對應的 IPv6 的 API

4.怎麼測試應用是否在 IPv6下是可以使用,就需要搭建一個 IPv6 的網路。

方法一: 如果電腦使用 USB 網線口,可以通過 mac 建立 wifi 熱點。

區別是這次我們產生的是一個本地的IPv6 DNS64/NAT64網路,這項功能是OS X 10.11新加的。和我們以前開啟熱點方式不一樣的地方在於,我們在“System Preferences”介面選中“Sharing”的同時,要按住“Option”鍵。

System Preferences

之後在“Sharing”介面中,我們會看到和之前不一樣的地方,就是紅框所標的地方,多了一個叫“Create NAT64 Network”的選框,選中它

方法二: 如果 mac 使用 wifi,手機 A 通過 USB 串連mac,然後手機 A開啟 wifi 熱點,建立 IPv6網路,另外的手機 B 通過 wifi 串連手機 A 的熱點。

 

IPv6 app適配

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.