Xray-core/proxy/dokodemo/fakeudp_other.go
2021-09-20 21:00:55 +08:00

14 lines
215 B
Go

//go:build !linux
// +build !linux
package dokodemo
import (
"fmt"
"net"
)
func FakeUDP(addr *net.UDPAddr, mark int) (net.PacketConn, error) {
return nil, &net.OpError{Op: "fake", Err: fmt.Errorf("!linux")}
}