NsurlConnections与IPv6 getaddrinfo

问题描述 投票:0回答:1

使用NsurlConnections开发应用程序。如何支持ipV6标准网络API。

https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

在这里阅读本文档无法获得如何使用此getaddrinfo方法。如何在应用程序中使用此代码。究竟要做什么以及如何在NsurlConnections中实现IPv6。帮我!!!!谢谢提前....

objective-c iphone xcode nsurlconnection ipv6
1个回答
0
投票

如果您使用的是更高级别的API,它们应该可以正常工作,并根据需要合成地址。你不应该使用getaddrinfo

© www.soinside.com 2019 - 2024. All rights reserved.