Skip to content

Instantly share code, notes, and snippets.

@sshymko
Created December 1, 2021 18:10
Show Gist options
  • 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