Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
d03bfa8e
Commit
d03bfa8e
authored
Jan 11, 2012
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: fix windows build
R=golang-dev, adg, rsc CC=golang-dev
https://golang.org/cl/5533065
parent
a6d8b483
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
sockoptip_windows.go
src/pkg/net/sockoptip_windows.go
+12
-12
No files found.
src/pkg/net/sockoptip_windows.go
View file @
d03bfa8e
...
...
@@ -7,55 +7,55 @@
package
net
import
(
"
os
"
"
syscall
"
)
func
ipv4MulticastInterface
(
fd
*
netFD
)
(
*
Interface
,
error
)
{
// TODO: Implement this
return
nil
,
os
.
EWINDOWS
return
nil
,
syscall
.
EWINDOWS
}
func
setIPv4MulticastInterface
(
fd
*
netFD
,
ifi
*
Interface
)
error
{
// TODO: Implement this
return
os
.
EWINDOWS
return
syscall
.
EWINDOWS
}
func
ipv4MulticastTTL
(
fd
*
netFD
)
(
int
,
error
)
{
// TODO: Implement this
return
-
1
,
os
.
EWINDOWS
return
-
1
,
syscall
.
EWINDOWS
}
func
setIPv4MulticastTTL
(
fd
*
netFD
,
v
int
)
error
{
// TODO: Implement this
return
os
.
EWINDOWS
return
syscall
.
EWINDOWS
}
func
ipv4MultiastLoopback
(
fd
*
netFD
)
(
bool
,
error
)
{
func
ipv4Multi
c
astLoopback
(
fd
*
netFD
)
(
bool
,
error
)
{
// TODO: Implement this
return
false
,
os
.
EWINDOWS
return
false
,
syscall
.
EWINDOWS
}
func
setIPv4MulticastLoopback
(
fd
*
netFD
,
v
bool
)
error
{
// TODO: Implement this
return
os
.
EWINDOWS
return
syscall
.
EWINDOWS
}
func
ipv4ReceiveInterface
(
fd
*
netFD
)
(
bool
,
error
)
{
// TODO: Implement this
return
false
,
os
.
EWINDOWS
return
false
,
syscall
.
EWINDOWS
}
func
setIPv4ReceiveInterface
(
fd
*
netFD
,
v
bool
)
error
{
// TODO: Implement this
return
os
.
EWINDOWS
return
syscall
.
EWINDOWS
}
func
ipv6TrafficClass
(
fd
*
netFD
)
(
int
,
error
)
{
// TODO: Implement this
return
os
.
EWINDOWS
return
0
,
syscall
.
EWINDOWS
}
func
setIPv6TrafficClass
(
fd
*
netFD
,
v
int
)
error
{
// TODO: Implement this
return
os
.
EWINDOWS
return
syscall
.
EWINDOWS
}
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