github.com/slayercat/go@v0.0.0-20170428012452-c51559813f61/src/net/file_windows.go (about) 1 // Copyright 2011 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package net 6 7 import ( 8 "os" 9 "syscall" 10 ) 11 12 func fileConn(f *os.File) (Conn, error) { 13 // TODO: Implement this 14 return nil, syscall.EWINDOWS 15 } 16 17 func fileListener(f *os.File) (Listener, error) { 18 // TODO: Implement this 19 return nil, syscall.EWINDOWS 20 } 21 22 func filePacketConn(f *os.File) (PacketConn, error) { 23 // TODO: Implement this 24 return nil, syscall.EWINDOWS 25 }