Files
OmniSocketGo/cmd/internal/transport/udp_device_other.go
nnbcccscdscdsc be013b701b feat:KCP协议
2026-03-24 21:09:06 +08:00

13 lines
254 B
Go

//go:build !linux
package transport
import (
"fmt"
"syscall"
)
func udpBindDeviceControl(device string) (func(string, string, syscall.RawConn) error, error) {
return nil, fmt.Errorf("transport: bind device %s is only supported on linux", device)
}