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: add support for Read/WriteMsg{UDP,IP} on windows #9252
Comments
@ianlancetaylor this must be labeled as repo-main, os-windows and helpwanted. |
@mikioh, is there test I can run on windows to reproduce your issue? Thank you. Alex |
@alexbrainman, once you fill readmsg, writemsg in fd_windows.go, you can use a few test cases in protoconn_test.go for basic i/o ops. marshalling and parsing ancillary data stuff would be implemented into x/net/ipv4 and x/net/ipv6. |
It looks like this hasn't been touched in a while. I'm going to take a stab at this. It's blocking #7175 with the lack of Readmsg/Writemsg for Windows. It will take the same approach as |
@dyerti How did it go? I'm also interested in helping make this happen. |
@alexbrainman @mikioh I've written a patch that implements readMsg/writeMsg using WSARecvMsg/WSASendMsg. The protoconn tests now pass on windows, but I could use some help with more testing and review. The patch is here: https://github.com/tmm1/go/compare/windows-sendrecvmsg Once this patch is verified, the next step would be to implement control message marshaling in x/net/ipvX |
Good news, I was able to get ipv4 control messages working on Windows! Here's the patch to x/net which accompanies the above golang patch: https://github.com/tmm1/net/compare/windows-controlmsg I still need to implement the equivalent patch for the ipv6 package. |
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
Change https://golang.org/cl/76393 mentions this issue: |
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
This means {Read,Write}Msg{UDP,IP} now work on windows. Fixes golang#9252 Change-Id: Ifb105f9ad18d61289b22d7358a95faabe73d2d02
Just not for routing/signalling protocols, some IP-level OAM functions such as ping, traceroute require this in some case.
The text was updated successfully, but these errors were encountered: