Closed cheatfate closed 1 year ago
result
cast[T]
endians2
isGlobal()
isUnspecified()
0.0.0.0
isZero()
isNone()
AdressFamily.None
This PR superseeds https://github.com/status-im/nim-chronos/pull/352
result
usage.cast[T]
usage toendians2
usage.isGlobal()
procedure to check IPv4 and IPv6 addresses are globally reachable (e.g. public). Add proper tests.isUnspecified()
check now checks for0.0.0.0
and become alias forisZero()
andisNone()
check now checks forAdressFamily.None
.This PR superseeds https://github.com/status-im/nim-chronos/pull/352