Files
wazero/internal/sysfs/sock_unsupported.go
Edoardo Vacchi 97d0d70b73
Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
wasi: add support for sockets (#1493)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
Co-authored-by: Achille <achille.roussel@gmail.com>
Co-authored-by: Adrian Cole <adrian@tetrate.io>
2023-06-02 20:45:42 +08:00

16 lines
245 B
Go

//go:build !linux && !darwin && !windows
package sysfs
import (
"net"
"syscall"
)
// MSG_PEEK is a filler value
const MSG_PEEK = 0x2
func recvfromPeek(conn *net.TCPConn, p []byte) (n int, errno syscall.Errno) {
return 0, syscall.ENOSYS
}