-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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: Dial/Listen with "ip4:tcp" or "ip6:tcp" fails on Windows #23193
Labels
Milestone
Comments
ilyaigpetrov
changed the title
net.DialIP("ip:tcp" on Windows -> "An invalid argument was supplied"
Dec 20, 2017
net.DialIP("ip:tcp"
on Windows -> "An invalid argument was supplied"
bradfitz
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Dec 20, 2017
/cc @mikioh |
mikioh
changed the title
net.DialIP("ip:tcp" on Windows -> "An invalid argument was supplied"
net: Dial/Listen with "ip4:tcp" or "ip6"tcp" fails on Windows
Dec 20, 2017
mikioh
added
OS-Windows
and removed
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Dec 20, 2017
I'm not a Windows user and have no Windows stuff, but when googling with "sock_raw+tcp" I found the following: https://msdn.microsoft.com/en-us/library/windows/desktop/ms740548(v=vs.85).aspx See the section of |
Please, mention that peculiarity in the documentation, so people don't waste time seeking for answers. |
Feel free to open a new issue for documentation. |
mikioh
changed the title
net: Dial/Listen with "ip4:tcp" or "ip6"tcp" fails on Windows
net: Dial/Listen with "ip4:tcp" or "ip6:tcp" fails on Windows
Dec 22, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.2 windows/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?Windows 10
What did you do?
What did you expect to see?
DialIP must work without errors.
What did you see instead?
ERR dial ip:tcp 127.0.0.1: connect: An invalid argument was supplied.
or
socket: protocol not supported
(Bash for Windows)The text was updated successfully, but these errors were encountered: