]> git.meshlink.io Git - meshlink/commit
Use SCNetworkReachability on macOS and iOS to detect network changes.
authorGuus Sliepen <guus@meshlink.io>
Fri, 2 Apr 2021 19:04:07 +0000 (21:04 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 15 Apr 2021 18:30:51 +0000 (20:30 +0200)
commit53926994e1cae3d743b8a7f172c1a177fece51a7
tree45f41f8d25558100e19a4658630d204a8b01ddcc
parent5185d25ea3d8c5fde58786a099115073f2d62d51
Use SCNetworkReachability on macOS and iOS to detect network changes.

Unfortunately, using SCDynamicStore*() functions to monitor network changes
is not supported in iOS. Instead, we now use SCNetworkReachability*()
functions which are supported on both macOS and iOS.
configure.ac
src/discovery.c