Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit b9a0e68

Browse files
committed
wasmtime: add net syscalls for an udp echo server
This demo shows the extension of the previously introduced _stdio_ syscall module, and adds a _net_ syscall module, which implements rudimentary UDP functionality. The WASM guest application uses these syscalls to build an UDP echo server.
1 parent 9834e7c commit b9a0e68

File tree

8 files changed

+1911
-0
lines changed

8 files changed

+1911
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ members = [
66
"wasmtime-basic",
77
"wasmtime-native-embed",
88
"wasmtime-custom-syscall",
9+
"wasmtime-udp-echoserver",
910
]

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ sent off-platform to the tenant, who can verify the Quote with a certificate cha
1818

1919
## [Wasmtime - Simple Custom Syscall](wasmtime-custom-syscall)
2020
Providing a simple _println_ syscall to a pre-compiled WASM binary written in Rust.
21+
22+
## [Wasmtime - UDP Echo-Server](wasmtime-udp-echoserver)
23+
Providing a rudimentary UDP implementation to a pre-compiled WASM binary written in Rust, which implements a UDP Echo-Server on top of the provided syscalls.

0 commit comments

Comments
 (0)