github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/common/redir/redir_other.go (about)

     1  //go:build !linux && !darwin
     2  
     3  package redir
     4  
     5  import (
     6  	"net"
     7  	"net/netip"
     8  	"os"
     9  )
    10  
    11  func GetOriginalDestination(conn net.Conn) (destination netip.AddrPort, err error) {
    12  	return netip.AddrPort{}, os.ErrInvalid
    13  }