data_connection_checker 0.2.1
data_connection_checker: ^0.2.1 copied to clipboard
Checks for an actual internet connection, by opening a socket connection to DNS Resolver addresses.
0.2.1 #
Breaking change
hasDataConnectionis now calledhasConnection
Non breaking
isHostReachable()is now public. It allows for individual checks.- Fix
DEFAULT_ADDRESSESto be unmodifiable - removed getter
lastTryLog - added getter
status - added getter
lastTryResults - updated example and readme
0.2.0 #
- Breaking changes
- This utility is now a Singleton (DataConnectionChecker() always returns the same instance) as it doesn't make sense to have more than one instance of this class
addressesis aList<InternetAddressCheckOptions>now. See the docs for more info- Each address can now have its own port and timeout assigned.
0.1.3 #
- Add more info in the README
0.1.2 #
- Minor refactoring
- Update README with more info
0.1.1 #
- Remove pedantic as a dependency
0.1.0 #
- Initial version