mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 02:18:51 +03:00
17 lines
479 B
Go
17 lines
479 B
Go
//go:build windows
|
|
|
|
package aghnet
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/aghos"
|
|
)
|
|
|
|
// listenPacketReusable announces on the local network address additionally
|
|
// configuring the socket to have a reusable binding.
|
|
func listenPacketReusable(_, _, _ string) (c net.PacketConn, err error) {
|
|
// TODO(e.burkov): Check if we are able to control sockets on Windows
|
|
// in the same way as on Unix.
|
|
return nil, aghos.Unsupported("listening packet reusable")
|
|
}
|