Reachability Class always returns Reachable -
i'm using reachability
class apples demo projects ping servers pages. no matter write in url reachableviawifi
.
reachability* reachability = [reachability reachabilitywithhostname:url]; networkstatus netstatus = [reachability currentreachabilitystatus];
i'm connected wifi, want check if servers available or not. (with answer "no" if i'm disconnected net).
any suggestions please, others classes same goal.
thanks
from docs:
a remote host considered reachable when data packet, sent application network stack, can leave local device. reachability not guarantee data packet received host.
edit: so, if there route available (whether server listening or not), return route's quality, in case wifi.
how sending request , checking out result?
as question library: questions deemed off topic here.
Comments
Post a Comment