Under the IPv6 Network's Situation, the server IP of IPv4 transform to IPv6,under the IPv4 network ,it return itself. 在IPv6网络环境下,将IPv4服务器ip转换为IPv6地址,在IPv4下,服务器地址不变。
#import "NAT64.h"
NSString *Ip = [NAT64 retrunipwithip:@"1.1.1.1" andport:@"111"];
JSONNeverDie is open-sourced software licensed under the MIT license.