fix imports

This commit is contained in:
Christian Ulrich 2020-10-10 11:57:52 +02:00
parent 60765f3c8a
commit a099907caa
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 3 additions and 3 deletions

View File

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