github.com/sagernet/sing-box@v1.9.0-rc.20/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  }