Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

iOS8 causes lookup of local host IP address to take 30+ seconds when AnyConnect is connected

Since I upgraded to iOS 8, when attempting to retrieve the local host IP address via the gethostbyname(string) or getaddrinfo() function, it take in excess of 30 seconds for this function to return.  Prior to this, the function returned in milliseconds.  I'm using the latest Cisco AnyConnect that's available for iOS 8.  Is this a known issue?

 

Here's a sample of the program that exhibits this delay.

    gethostname((char *)hostname, 100);

    NSString *hostnameString = [NSString stringWithUTF8String:hostname];

    void *ret = (void *)gethostbyname(hostname);

 

 

 

Everyone's tags (1)
87
Views
0
Helpful
0
Replies
CreatePlease to create content