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

proposal: net: receiving IPv4 header on raw IPv4 socket #7037

mikioh opened this issue Dec 31, 2013 · 1 comment


Copy link

@mikioh mikioh commented Dec 31, 2013

// BUG(mikio): On every POSIX platform, reads from the "ip4" network
// using the ReadFrom or ReadFromIP method might not return a complete
// IPv4 packet, including its header, even if there is space
// available. This can occur even in cases where Read or ReadMsgIP
// could return a complete packet. For this reason, it is recommended
// that you do not uses these methods if it is important to receive a
// full packet.
// The Go 1 compatibility guidelines make it impossible for us to
// change the behavior of these methods; use Read or ReadMsgIP
// instead.

This comment has been minimized.

Copy link
Contributor Author

@mikioh mikioh commented Dec 31, 2013

Comment 1:

Labels changed: added repo-main.

@bradfitz bradfitz added Go2 and removed release-go2 labels Dec 17, 2014
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc removed the repo-main label Apr 14, 2015
@rsc rsc changed the title net: receiving IPv4 header on raw IPv4 socket proposal: net: receiving IPv4 header on raw IPv4 socket Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.