mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-09 14:10:00 +00:00
14 lines
187 B
Go
14 lines
187 B
Go
//go:build !linux
|
|
|
|
package protect
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
func ListenUDP(protectPath string) ListenUDPFunc {
|
|
return func() (net.PacketConn, error) {
|
|
return net.ListenUDP("udp", nil)
|
|
}
|
|
}
|