Commit 9387d11a authored by Mikio Hara's avatar Mikio Hara

net: fix windows build

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/5653066
parent 8bd0109d
......@@ -23,7 +23,7 @@ func setDefaultSockopts(s syscall.Handle, f, t int) error {
return nil
}
func setDefaultListenerSockopts(s syscall.Handle, f, t int) error {
func setDefaultListenerSockopts(s syscall.Handle) error {
// Windows will reuse recently-used addresses by default.
// SO_REUSEADDR should not be used here, as it allows
// a socket to forcibly bind to a port in use by another socket.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment