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