views:

637

answers:

1

I need to do a network ping in an iPhone app, but NSHost is an unsupported framework for iPhone OS. Does anybody know of other tools or techniques to achive similar functionality?

+2  A: 

Search for Reachability. Have a loot at e.g. this SO question. With this, you can test if a host can be reached.

HTH

drvdijk