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: Document UDPConn.ReadMsgUDP not implemented on Windows. #16802

Closed
v2ray opened this issue Aug 19, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@ghost
Copy link

commented Aug 19, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    1.7
  2. What operating system and processor architecture are you using (go env)?
    Windows 2012 amd64
  3. What did you do?
    Calling UDPConn.ReadMsgUDP on Windows.
  4. What did you expect to see?
    The function behaves the same as it does on Linux.
  5. What did you see instead?
    The function constantly raises error "not supported on Windows".

The document for this function is not clear that it doesn't run on Windows. It can't be easily figured out through source code as well.

UDPConn.ReadMsgUDP() -> UDPConn.readMsg() -> fd.readMsg() -> error

I appreciate if this behavior is documented, either in the function description, or in the bugs section, to avoid some hassle during debugging.

@mikioh mikioh changed the title Document UDPConn.ReadMsgUDP not implemented on Windows. net: Document UDPConn.ReadMsgUDP not implemented on Windows. Aug 21, 2016

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Aug 21, 2016

See #9252.

@gopherbot

This comment has been minimized.

Copy link

commented Aug 22, 2016

CL https://golang.org/cl/27417 mentions this issue.

@gopherbot gopherbot closed this in a7ed9ff Aug 23, 2016

@golang golang locked and limited conversation to collaborators Aug 23, 2017

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