instacart / truetime-android

Android NTP time library. Get the true current time impervious to device clock time changes
https://tech.instacart.com/truetime/
Apache License 2.0
1.42k stars 194 forks source link

Add ipv6 filtering #110

Closed jamesrapadmi closed 1 year ago

jamesrapadmi commented 5 years ago

The ipv6 addresses that time.google.com resolve to give repeated SocketTimeoutExceptions. This allows these to be filtered out if desired.

sarog commented 5 years ago

These changes solved my issue. Thank you very much for this.

kaushikgopal commented 1 year ago

@jamesrapadmi 🙏 thank you so much for these changes. TrueTime has since undergone massive changes with the migration to Kotlin + Coroutines. I did take your suggestion and added ipv6Filtering into version 4.

One thing i'd like to do in the future is actually be able to send and receive UDP packets via an IPv6 address and accordingly switch. But filtering for now should be :v: