Skip to content

Instantly share code, notes, and snippets.

@sshymko
Created December 1, 2021 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sshymko/b05f42897c299c6606202ede81a4c7c4 to your computer and use it in GitHub Desktop.
Save sshymko/b05f42897c299c6606202ede81a4c7c4 to your computer and use it in GitHub Desktop.
macOS TCP connection keep alive
net.inet.tcp.keepidle=20000
net.inet.tcp.keepintvl=20000
net.inet.tcp.keepinit=20000
net.inet.tcp.always_keepalive=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment