WebAssembly / wasi-sockets

WASI API proposal for managing sockets
243 stars 22 forks source link

UDP: Enable sending and receiving of per-packet options #59

Closed badeend closed 11 months ago

badeend commented 1 year ago

Caveat: the following options are enabled unconditionally:

The primary goal of these changes is to kickstart WASI's UDP capabilities and enable workloads that we couldn't run before. I doubt these 32-ish additional bytes are going to cause any performance issues for the average program, but if they ever do we can always add a "diet" version of receive without these fields.

Fixes #38

badeend commented 11 months ago

To be reevaluated after preview2