Determining IP Address from URL in iOS

后端 未结 3 1685
小蘑菇
小蘑菇 2021-01-03 01:57

I need to get the IP address of a CDN from it\'s URL in an iOS app. From a long stack search, i\'ve determined a method for doing this with the following:

st         


        
3条回答
  •  日久生厌
    2021-01-03 03:02

    I had no problems compiling that code with the following includes:

    #import 
    #include 
    

提交回复
热议问题