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:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user