Expand description
Extensions to the regular TCP APIs
Structs§
- TCP_
INFO - The (copy of) the kernel struct tcp_info returns
- TcpKeepalive
- The configuration for TCP keepalive
Functions§
- connect
- connect() to the given address while optionally binding to the specific source address.
- connect_
uds - connect() to the given Unix domain socket
- get_
original_ dest - get_
recv_ buf - get_
socket_ cookie - get_
tcp_ info - Get the kernel TCP_INFO for the given FD.
- set_
dscp - set_
recv_ buf - Set the TCP receive buffer size. See SO_RCVBUF.
- set_
tcp_ fastopen_ backlog - Enable server side TCP fast open.
- set_
tcp_ fastopen_ connect - Enable client side TCP fast open.
- set_
tcp_ keepalive - Apply the given TCP keepalive settings to the given connection