Categorygithub.com/octu0/tcpoption
repositorypackage
1.0.0
Repository: https://github.com/octu0/tcpoption.git
Documentation: pkg.go.dev

# README

tcpoption

MIT License GoDoc Go Report Card Releases

additional syscall for tcp socketopt

  • TCP_KEEPIDLE / tcp_keepalive_time SetKeepAliveTime
  • TCP_KEEPINTVL / tcp_keepalive_intvl SetKeepAliveInterval
  • TCP_KEEPCNT / tcp_keepalive_probes SetKeepAliveProbes
  • TCP_LINGER2 / tcp_fin_timeout SetLingerTimeout
  • TCP_NODELAY SetNoDelay
  • TCP_FASTOPEN / tcp_fastopen SetFastOpen/SetFastOpenConnect
  • TCP_QUICKACK SetQuickACK
  • TCP_DEFER_ACCEPT SetDeferAccept
  • SO_RCVBUF SetReadBuffer
  • SO_SNDBUF SetWriteBuffer
  • SO_KEEPALIVE SetKeepAlive
  • SO_LINGER SetLinger
  • SO_REUSEADDR SetReuseAddr
  • SO_REUSEPORT SetReusePort