1 // +build !go1.11 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
7 const supportsReusePort = false
9 func listenTCP(network, addr string, reuseport bool) (net.Listener, error) {
11 // TODO(tmthrgd): return an error?
14 return net.Listen(network, addr)
17 func listenUDP(network, addr string, reuseport bool) (net.PacketConn, error) {
19 // TODO(tmthrgd): return an error?
22 return net.ListenPacket(network, addr)