github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/net/sockoptip_stub.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 // +build nacl js,wasm 6 7 package net 8 9 import "syscall" 10 11 func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error { 12 // See golang.org/issue/7399. 13 return syscall.ENOPROTOOPT 14 } 15 16 func setIPv4MulticastLoopback(fd *netFD, v bool) error { 17 // See golang.org/issue/7399. 18 return syscall.ENOPROTOOPT 19 } 20 21 func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error { 22 // See golang.org/issue/7399. 23 return syscall.ENOPROTOOPT 24 } 25 26 func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error { 27 // See golang.org/issue/7399. 28 return syscall.ENOPROTOOPT 29 } 30 31 func setIPv6MulticastLoopback(fd *netFD, v bool) error { 32 // See golang.org/issue/7399. 33 return syscall.ENOPROTOOPT 34 } 35 36 func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error { 37 // See golang.org/issue/7399. 38 return syscall.ENOPROTOOPT 39 }