include "statement"

This commit is contained in:
2026-06-26 14:38:39 +02:00
parent 3f3f161151
commit 5a09699845
9 changed files with 62 additions and 28 deletions

View File

@@ -1,3 +1,5 @@
include "std/net.zr"
func main[argc: i64, argv: ptr] : i64
if argc < 2
io.println("ERROR: url is missing")

View File

@@ -1,3 +1,5 @@
include "std/net.zr"
func main[] : i64
~s, ok := net.listen("127.0.0.1", 8000)
if !ok

View File

@@ -1,3 +1,5 @@
include "std/net.zr"
func main[] : i64
~s, ok := net.create_udp_server("127.0.0.1", 8000)
if !ok