how to display the name of wifi AP using reachability wifi example on iphone -


i want display infomation of wifi ap connected , how ???

+ (reachability*) reachabilityforlocalwifi; {//nslog(@"cheking addresss ");     struct sockaddr_in localwifiaddress;      bzero(&localwifiaddress, sizeof(localwifiaddress));     localwifiaddress.sin_len = sizeof(localwifiaddress);     localwifiaddress.sin_family = af_inet;     //nslog(@"destination%@",localwifiaddress.sin_len);      // in_linklocalnetnum defined in <netinet/in.h> 169.254.0.0     localwifiaddress.sin_addr.s_addr = htonl(in_linklocalnetnum);     reachability* retval = [self reachabilitywithaddress: &localwifiaddress];      if(retval!= null)     {         retval->localwifiref = yes;          //printf("%i",localwifiaddress);     }     return retval; } 


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -