github.com/metacubex/tfo-go@v0.0.0-20240228025757-be1269474a66/sockopt_connect_generic.go (about)

     1  //go:build freebsd || windows
     2  
     3  package tfo
     4  
     5  func setTFODialer(fd uintptr) error {
     6  	return setTFO(int(fd), 1)
     7  }