diff --git a/utils.nim b/utils.nim index 1c74405..499a270 100644 --- a/utils.nim +++ b/utils.nim @@ -1,8 +1,8 @@ from net import - IpAddress, IpAddressFamily, Port, newSocket, connect, close, getLocalAddr, - parseIpAddress + IpAddress, IpAddressFamily, Port, `$`, newSocket, connect, close, + getLocalAddr, parseIpAddress from nativesockets import - AF_INET, AF_INET6, SOCK_DGRAM, IPPROTO_UDP + Domain, SockType, Protocol # FIXME: getPrimaryAddr is not needed anymore once # https://github.com/nim-lang/Nim/pull/15538 is released.