- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sock_shutdown (0.09 sec)
-
src/syscall/net_wasip1.go
type sdflags = uint32 //go:wasmimport wasi_snapshot_preview1 sock_accept //go:noescape func sock_accept(fd int32, flags fdflags, newfd unsafe.Pointer) Errno //go:wasmimport wasi_snapshot_preview1 sock_shutdown //go:noescape func sock_shutdown(fd int32, flags sdflags) Errno func Socket(proto, sotype, unused int) (fd int, err error) { return 0, ENOSYS } func Bind(fd int, sa Sockaddr) error { return ENOSYS }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 1.8K bytes - Viewed (0) -
src/net/fd_fake.go
net string laddr Addr raddr Addr // The only networking available in WASI preview 1 is the ability to // sock_accept on a pre-opened socket, and then fd_read, fd_write, // fd_close, and sock_shutdown on the resulting connection. We // intercept applicable netFD calls on this instance, and then pass // the remainder of the netFD calls to fakeNetFD. *fakeNetFD } func newFD(net string, sysfd int) *netFD {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 3.8K bytes - Viewed (0)