github.com/sagernet/tfo-go@v0.0.0-20231209031829-7b5343ac1dc6/sockopt_listen_generic.go (about) 1 //go:build darwin || freebsd || windows 2 3 package tfo 4 5 func setTFOListener(fd uintptr) error { 6 return setTFO(int(fd), 1) 7 } 8 9 func setTFOListenerWithBacklog(fd uintptr, backlog int) error { 10 return setTFOListener(fd) 11 }