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: clarify UDPConn Read behaviour documentation #31991

Open
kortschak opened this issue May 13, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@kortschak
Copy link
Contributor

commented May 13, 2019

The documentation for UPDConn.Read says that "Read implements the Conn Read method." However, UDP is not stream and Conn is described as "a generic stream-oriented network connection".

It would be nice to be able to know what the characteristics of Read are with respect to packets — whether Read only reads a packet at a time or not — without having to read the source.

See https://groups.google.com/forum/#!topic/golang-nuts/f_s3fGRgAF8

@andybons andybons added this to the Unplanned milestone May 13, 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.