2015-08-28 15:33:40 +00:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2019-06-02 15:48:37 +00:00
|
|
|
// +build nacl js,wasm
|
2015-08-28 15:33:40 +00:00
|
|
|
|
|
|
|
package net
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
2017-04-10 11:32:00 +00:00
|
|
|
func fileConn(f *os.File) (Conn, error) { return nil, syscall.ENOPROTOOPT }
|
|
|
|
func fileListener(f *os.File) (Listener, error) { return nil, syscall.ENOPROTOOPT }
|
|
|
|
func filePacketConn(f *os.File) (PacketConn, error) { return nil, syscall.ENOPROTOOPT }
|