Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 659 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 659 Bytes

RouterAddressInfo

get and display current router information


##how to use

####//1. get router information

    NSMutableDictionary *routerInfo = [RouterAddressInfo getRouterInfo];
    NSLog(@"router info: %@",routerInfo);

//2. current wifi information

    [RouterAddressInfo displayCurrentWiFiInfotmation];

##Note Note that inet_ntoa works only with IPv4 addresses. If you are in a IPv6 network, you have to use inet_ntop or better getnameinfo - advice from here stackoverflow