Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
9387d11a
Commit
9387d11a
authored
Feb 12, 2012
by
Mikio Hara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: fix windows build
R=golang-dev, alex.brainman CC=golang-dev
https://golang.org/cl/5653066
parent
8bd0109d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pkg/net/sockopt_windows.go
src/pkg/net/sockopt_windows.go
+1
-1
No files found.
src/pkg/net/sockopt_windows.go
View file @
9387d11a
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment