-
Notifications
You must be signed in to change notification settings - Fork 156
Make msghdr.msg_name optional #233
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
Conversation
b8094f3 to
e740209
Compare
|
These changes may be a step in the right direction but they are not complete. The branch doesn't compile. Please run Here, even the file src/io/sendmsg_zc.rs which you changed won't compile, let along the entire library not compiling. And while your comment about sendmsg is correct, please include a link to an online manpage from some place like arch linux so anyone reading through this can be starting with the same understanding. Thank you. Edit: Perhaps your point was just to highlight a shortcoming in the API but did not want to offer a solution - I've sometimes done that in other repos. Then just opening an Issue would be a better vehicle. |
sendmsg can be used on connected sockets without msg_name.
e740209 to
f186fa4
Compare
|
I am really sorry for incomplete PR, IDK how it happened. Pushed fixed version. |
FrankReh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Just asking for some small changes, all in net/udp.rs I think.
|
Thank you! |
I didn't realise you'd merge it straight away, my intention was to get approval then squash all changes. sorry for many useless commits |
|
We squash the changes for every PR in this repo. At least we mean to. There may have been some that slipped through. All the commits weren't a problem. The GitHub merge will do the squash for us if we like. I did end up pulling this branch locally to be able to look through things when there were problems. The final merge from master I didn't see needing to wait for you as it might have taken another day for the turn around. And there are a number of outstanding PRs that can get merged when another maintainer has a look so I wanted as much committed and remerged to the other PRs as quickly as possible. |
sendmsg can be used on connected sockets without msg_name.