Rust, Deno, TCP/UDP Sockets

Suppose we have the following setup:

  1. crate_foo (Rust) -> foo.wasm

  2. deno runtime loads foo.wasm

  3. Now, can the wasm have TCP/UDP connections directly or does all network have to pass through deno (and deno has funcs / callbacks that get triggered per packet and feeds data to wasm) ?

I.e. do network traffic go "foo.wasm <-> kernel" or "foo.wasm <-> deno runtime <-> kernel" ?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.