1
0
mirror of https://github.com/golang/go synced 2024-11-24 15:10:02 -07:00

net: fix Windows build

R=rsc
CC=golang-dev
https://golang.org/cl/4314042
This commit is contained in:
Peter Mundy 2011-03-25 16:11:19 -04:00 committed by Russ Cox
parent e83d69647f
commit 91bcdb620b

View File

@ -4,14 +4,22 @@
package net
import (
"os"
"syscall"
)
func FileConn(f *os.File) (c Conn, err os.Error) {
return nil, os.EWINDOWS
// TODO: Implement this
return nil, os.NewSyscallError("FileConn", syscall.EWINDOWS)
}
func FileListener(f *os.File) (l Listener, err os.Error) {
return nil, os.EWINDOWS
// TODO: Implement this
return nil, os.NewSyscallError("FileListener", syscall.EWINDOWS)
}
func FilePacketConn(f *os.File) (c PacketConn, err os.Error) {
return nil, os.EWINDOWS
// TODO: Implement this
return nil, os.NewSyscallError("FilePacketConn", syscall.EWINDOWS)
}