Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.bindAddr fails binding to all interfaces if `address == ""` for ipv6 #7633

Closed
enthus1ast opened this issue Apr 16, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@enthus1ast
Copy link
Contributor

commented Apr 16, 2018

import net
var socket = newSocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)
# socket.bindAddr(Port(1900), "::") # this compiles
socket.bindAddr(Port(1900))

bug.nim(4)               bug
net.nim(775)             bindAddr
oserr.nim(110)           raiseOSError
Error: unhandled exception: Invalid argument [OSError]

FedericoCeratto added a commit to FedericoCeratto/Nim that referenced this issue Feb 19, 2019

FedericoCeratto added a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019

FedericoCeratto added a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019

FedericoCeratto added a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019

@dom96 dom96 closed this in #10715 Feb 23, 2019

dom96 added a commit that referenced this issue Feb 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.