feat:KCP协议
This commit is contained in:
12
cmd/internal/transport/udp_device_other.go
Normal file
12
cmd/internal/transport/udp_device_other.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user