解决了语音上传到问题,接下来要解决下载播放问题
This commit is contained in:
31
Pods/HappyDNS/HappyDNS/Util/QNIP.h
generated
Normal file
31
Pods/HappyDNS/HappyDNS/Util/QNIP.h
generated
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// QNIPV6.h
|
||||
// HappyDNS
|
||||
//
|
||||
// Created by bailong on 16/5/25.
|
||||
// Copyright © 2016年 Qiniu Cloud Storage. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
extern int qn_localIp(char *buf, int buf_size);
|
||||
extern void qn_nat64(char *buf, int buf_size, uint32_t ipv4_addr);
|
||||
|
||||
@interface QNIP : NSObject
|
||||
|
||||
+ (BOOL)isV6;
|
||||
|
||||
+ (NSString *)adaptiveIp:(NSString *)ipv4;
|
||||
|
||||
+ (NSString *)local;
|
||||
|
||||
// ipv6 in url like http://[::xxx]/
|
||||
+ (NSString *)ipHost:(NSString *)ip;
|
||||
|
||||
+ (NSString *)nat64:(NSString *)ip;
|
||||
|
||||
+ (BOOL)isIpV6FullySupported;
|
||||
|
||||
+ (BOOL)mayBeIpV4:(NSString *)domain;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user