I am facing a problem when converting NSData to NSString. I'm using UTF8Enconding but the result is null!!
Here is the data I receive <100226ab c0a8010b 00000000 00000000> it must be either 192.168.1.11 or 192.168.1.17.
This is the method I use to convert :
 NSString *ipAddress = [[NSString alloc] initWithData:address encoding:NSUTF8StringEncoding];
Is there anything wrong?!
By the way, This the did receive data delegate of GCDAsyncUdpSocket library.
 
     
     
     
     
    