Add timeout send/recv and multicast client/server socket examples (#1519)
Add a couple of socket examples that can be used with WAMR: - The `timeout_client` and `timeout_server` examples demonstrate socket send and receive timeouts using the socket options - The `multicast_client` and `multicast_server` examples demonstrate receiving multicast packets in WASM And add several macro controls for `socket_opts` example.
This commit is contained in:
@ -83,3 +83,7 @@ compile_with_clang(addr_resolve.c)
|
||||
compile_with_clang(socket_opts.c)
|
||||
compile_with_clang(udp_client.c)
|
||||
compile_with_clang(udp_server.c)
|
||||
compile_with_clang(multicast_client.c)
|
||||
compile_with_clang(multicast_server.c)
|
||||
compile_with_clang(timeout_client.c)
|
||||
compile_with_clang(timeout_server.c)
|
||||
|
||||
Reference in New Issue
Block a user