1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:54:39 -07:00

net: fix windows build

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/5653066
This commit is contained in:
Mikio Hara 2012-02-12 15:59:21 +09:00
parent 8bd0109dd0
commit 9387d11aa6

View File

@ -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.