A simple library for discovering the IP address of the default gateway.
Provides implementations for:
Other platforms use an implementation that always returns an error.
Pull requests for other OSs happily considered!