github.com/sagernet/tfo-go@v0.0.0-20231209031829-7b5343ac1dc6/sockopt_stub.go (about) 1 //go:build !darwin && !freebsd && !linux && !windows 2 3 package tfo 4 5 func setTFOListener(fd uintptr) error { 6 return ErrPlatformUnsupported 7 } 8 9 func setTFOListenerWithBacklog(fd uintptr, backlog int) error { 10 return ErrPlatformUnsupported 11 } 12 13 func setTFODialer(fd uintptr) error { 14 return ErrPlatformUnsupported 15 }