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

MAN 7 Signal part: SO_RCVTIMEO should be SO_SNDTIMEO #38

Open
zgjsxx opened this issue Nov 6, 2023 · 0 comments
Open

MAN 7 Signal part: SO_RCVTIMEO should be SO_SNDTIMEO #38

zgjsxx opened this issue Nov 6, 2023 · 0 comments

Comments

@zgjsxx
Copy link

zgjsxx commented Nov 6, 2023

man 7 signal, the below part has an error:

  • "Input" socket interfaces, when a timeout (SO_RCVTIMEO) has been set on the socket using setsockopt(2): accept(2), recv(2), recvfrom(2), recvmmsg(2) (also with a non-NULL timeout argument), and recvmsg(2).

  • "Output" socket interfaces, when a timeout (SO_RCVTIMEO) has been set on the socket using setsockopt(2): connect(2), send(2), sendto(2), and sendmsg(2).

I suppose that for Output socket interfaces, the option should be SO_SNDTIMEO not SO_RCVTIMEO.
Please fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant