Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradleyfalzon/tcp-fast-open
/ functions
Functions
7 in github.com/bradleyfalzon/tcp-fast-open
⨍
Functions
7
◇
Types & classes
3
↓ 3 callers
Method
Close
Gracefully close the connection to a client
serverConn.go:42
↓ 1 callers
Method
Accept
Block, waiting for connections, handling each connection in its own go routine
server.go:59
↓ 1 callers
Method
Bind
Create a tcp socket, setting the TCP_FASTOPEN socket option.
server.go:21
↓ 1 callers
Method
Handle
Read the data from the client and immediately close the connection
serverConn.go:17
↓ 1 callers
Method
Send
Create a tcp socket and send data on it. This uses the sendto() system call instead of connect() - because connect() calls does not support sending da
client.go:22
↓ 1 callers
Function
checkTcpMetrics
Use `ip tcp_metrics` to check whether we received a cookie or not. Only available in later versions of iproute
main.go:78
Function
main
()
main.go:20