1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-01-11 05:03:32 +02:00
Xray-core/proxy/dokodemo/fakeudp_other.go

14 lines
215 B
Go
Raw Normal View History

2021-09-20 16:00:55 +03:00
//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")}
}