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

Add more TCP socket options #570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vvtran
Copy link

@vvtran vvtran commented Sep 13, 2023

May I add TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT to use in conjunction with SO_KEEPALIVE?

@kazu-yamamoto
Copy link
Collaborator

I'm sorry but I think these options are not suitable for network.
They are Linux specific and their manual says that they are not recommended for the portability purpose.
This is against the cross-platform policy of network.
The current SocketOption is extensible, so you can define them in your local code.

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

Successfully merging this pull request may close these issues.

2 participants