mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 05:19:53 +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)
|
|
}
|
|
}
|