Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octu0/tcpoption
additional syscall for tcp socketopt
https://github.com/octu0/tcpoption
go golang setsockopt syscalls tcp tcp-socket
Last synced: 6 days ago
JSON representation
additional syscall for tcp socketopt
- Host: GitHub
- URL: https://github.com/octu0/tcpoption
- Owner: octu0
- License: mit
- Created: 2022-05-01T11:24:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-08T11:16:33.000Z (over 2 years ago)
- Last Synced: 2024-06-21T09:38:02.524Z (5 months ago)
- Topics: go, golang, setsockopt, syscalls, tcp, tcp-socket
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `tcpoption`
[![MIT License](https://img.shields.io/github/license/octu0/tcpoption)](https://github.com/octu0/tcpoption/blob/master/LICENSE)
[![GoDoc](https://godoc.org/github.com/octu0/tcpoption?status.svg)](https://godoc.org/github.com/octu0/tcpoption)
[![Go Report Card](https://goreportcard.com/badge/github.com/octu0/tcpoption)](https://goreportcard.com/report/github.com/octu0/tcpoption)
[![Releases](https://img.shields.io/github/v/release/octu0/tcpoption)](https://github.com/octu0/tcpoption/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