1
// interface for making sure network is up
3
// used on iPhone to ensure connectivity before making a socket request...
4
// does nothing on always-networked platforms
7
// true for always-on platforms
8
// makeSureNetworkIsUp can be skipped on those platforms
9
char isNetworkAlwaysOn();
14
// makes sure the network is up, and tries to bring it up if it is not
15
// uses inTestURL to check reachability
17
// note that this call might block
18
char makeSureNetworkIsUp( char *inTestURL );