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
Closed

Comments

@enthus1ast
Copy link
Contributor

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 pushed a commit to FedericoCeratto/Nim that referenced this issue Feb 19, 2019
FedericoCeratto pushed a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019
FedericoCeratto pushed a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019
FedericoCeratto pushed a commit to FedericoCeratto/Nim that referenced this issue Feb 20, 2019
dom96 pushed 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
Projects
None yet
Development

No branches or pull requests

2 participants