fix imports
This commit is contained in:
parent
60765f3c8a
commit
a099907caa
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue