github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/inbound/default_tcp_nongo1.20.go (about)

     1  //go:build !go1.20
     2  
     3  package inbound
     4  
     5  import (
     6  	"context"
     7  	"net"
     8  	"os"
     9  )
    10  
    11  const go120Available = false
    12  
    13  func listenTFO(listenConfig net.ListenConfig, ctx context.Context, network string, address string) (net.Listener, error) {
    14  	return nil, os.ErrInvalid
    15  }