Commit 91bcdb62 authored by Peter Mundy's avatar Peter Mundy Committed by Russ Cox

net: fix Windows build

R=rsc
CC=golang-dev
https://golang.org/cl/4314042
parent e83d6964
......@@ -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)
}
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