Files

14 lines
215 B
Go
Raw Permalink Normal View History

2021-09-20 21:00:55 +08:00
//go:build !linux
2020-12-31 15:57:15 +00:00
// +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")}
}