net
net copied to clipboard
Go package implementing WASI socket extensions
Fixes #36. TODO: - [ ] agree on the API (see discussion on #36) - [ ] add test case
It would be nice if we could use connected UDP sockets. In certain cases, they're significantly faster than unconnected UDP sockets, as the kernel doesn't need to perform an address...
Hi guys, author of [quic-go](https://github.com/quic-go/quic-go) here 👋 I'm trying to compile a simple quic-go server and client to WASM, and I'm running into the following problem: sending UDP datagrams fails...
Hi! I've been trying to compile some of the example netcode in the gorilla/websockets project using the `net` extensions package. Specifically I'm going with the fairly straightforward echo server example...
go code: ``` package main import ( "net/http" "github.com/stealthrocket/net/wasip1" ) func main() { listener, err := wasip1.Listen("tcp", "127.0.0.1:3000") if err != nil { panic(err) } server := &http.Server{ Handler: http.HandlerFunc(func(w...
Just doing a wasip1.Listen socket and getting link errors - any way to skip the dial stuff that I don't need on a listen? ``` # github.com/stealthrocket/net/wasip1 ../../../../go/pkg/mod/github.com/stealthrocket/[email protected]/wasip1/dial_wasip1.go:32:22: undefined: net.Resolver...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.31.0. Commits b4f1988 ssh: make the public key cache a 1-entry FIFO cache 7042ebc openpgp/clearsign: just use rand.Reader in tests 3e90321 go.mod: update golang.org/x dependencies...
Hi, thank you for the project! I am wondering if I am wrong something with this simple PoC: ``` package main import ( "fmt" "net/http" _ "github.com/stealthrocket/net/http" ) func main()...