From 7d92468a5d298ec6dd6455482ff0521efecf9541 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 14 Feb 2025 17:30:28 +0100 Subject: Adjust wasm code and examples for new features --- examples/echo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/echo.c') 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 }, -- cgit v1.2.3