feat:KCP协议

This commit is contained in:
nnbcccscdscdsc
2026-03-24 21:09:06 +08:00
parent 290ba18962
commit be013b701b
20 changed files with 2284 additions and 16 deletions

View 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)
}