//
//  NSString+HWMSDKReachability.h
//  HWMNativeSDK
//
//  Created by guomeng on 2021/5/19.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (HWMSDKReachability)

- (BOOL)isIpV4Address;

- (NSInteger)getIPV4Port;

- (nullable NSString *)getIpV4Address;

- (NSString *)getIpV6Address;

+ (nullable NSString *)fetchIpAddressForHostName:(NSString *)hostName;

@end

NS_ASSUME_NONNULL_END
