github.com/igoogolx/clash@v1.19.8/listener/tproxy/setsockopt_other.go (about)

     1  //go:build !linux
     2  
     3  package tproxy
     4  
     5  import (
     6  	"errors"
     7  	"syscall"
     8  )
     9  
    10  func setsockopt(rc syscall.RawConn, addr string) error {
    11  	return errors.New("not supported on current platform")
    12  }