blob: 8137eb5ba0cb6e6730c0c54344e779eeac135cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package reuseport
import (
"fmt"
"net"
)
// Listen always returns ErrNoReusePort on Windows
func Listen(network, addr string) (net.Listener, error) {
return nil, &ErrNoReusePort{fmt.Errorf("Not supported on Windows")}
}
|