diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-02-14 17:30:28 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-02-14 17:30:28 +0100 |
commit | 7d92468a5d298ec6dd6455482ff0521efecf9541 (patch) | |
tree | a060fa81ed5b9187f8b98178582f7abbca69e29f /examples/echo.c | |
parent | 9eb170e70a7be9ed418152ad1b679473fbe0c35a (diff) | |
download | reduced_system_layer-7d92468a5d298ec6dd6455482ff0521efecf9541.zip |
Adjust wasm code and examples for new features
Diffstat (limited to 'examples/echo.c')
-rw-r--r-- | examples/echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/echo.c b/examples/echo.c index 1671be7..7d25001 100644 --- a/examples/echo.c +++ b/examples/echo.c @@ -43,7 +43,7 @@ i32 main(i32 argc, c8 **argv) { for (;;) { i64 n = network_recv( 0, - (IP_Address) { + (Network_Address) { .protocol = IPv4_UDP, .port = PORT, .v4_address = { 0, 0, 0, 0 }, @@ -77,7 +77,7 @@ i32 main(i32 argc, c8 **argv) { network_send( 0, - (IP_Address) { + (Network_Address) { .protocol = IPv4_UDP, .port = PORT, .v4_address = { 127, 0, 0, 1 }, |