Enhance/Fix sample socket-api and workload (#2006)

- Add python script to test socket-api cases
- Fix issues in socket-api send_recv wasm app
- Fix issues in building samples/workload/meshoptimizer
- Enhance build script of sample workload
This commit is contained in:
Wenyong Huang
2023-03-08 16:36:08 +08:00
committed by GitHub
parent a15a731e12
commit 289fc5efbf
10 changed files with 199 additions and 34 deletions

View File

@ -68,7 +68,7 @@ Say Hi from the Server
send and receive data via 127.0.0.1:1234.
```bash
$ ./iwasm --addr-pool=127.0.0.1/0 ./send_recv.wasm
$ ./iwasm --addr-pool=127.0.0.1/0 ./send_recv.wasm
```
The output is:
@ -164,7 +164,7 @@ Datagram sent
`addr_resolve.wasm` demonstrates the usage of resolving a domain name
```
$ ./iwasm --allow-resolve=*.com addr_resolve.wasm github.com
$ ./iwasm --allow-resolve=*.com addr_resolve.wasm github.com
```
The command displays the host name and its corresponding IP address: