summaryrefslogtreecommitdiff
path: root/examples/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo.c')
-rw-r--r--examples/echo.c4
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 },