github.com/chwjbn/xclash@v0.2.0/listener/tproxy/setsockopt_other.go (about)

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