Skip to content
/ gotfo Public
forked from coyove/gotfo

Optional TCP Fast Open in Go1.8/1.9

Notifications You must be signed in to change notification settings

cbeuw/gotfo

 
 

Repository files navigation

TCP Fast Open in Go

TCP Fast Open on Windows 10 (since version 1607) and Linux (since 3.7), go1.8/1.9 only.

Usage

// dial an address with data, it returns a net.Conn
conn, err := gotfo.Dial(address, true, data)
// or dial without fast open
conn, err := gotfo.Dial(address, false, nil)

// listen with fast open, it returns a net.Listener
listener, err := gotfo.Listen(address, true)
// or listen without fast open
listener, err := gotfo.Listen(address, false)

About

Optional TCP Fast Open in Go1.8/1.9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%