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