This commit is contained in:
agra
2026-02-18 13:08:35 +02:00
parent 3c0912a936
commit 2f5eb84259
4 changed files with 267 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ main :: () -> s32 {
addr := SockAddr.{ sin_len = 16, sin_family = 2, sin_port = htons(PORT) };
if bind(fd, addr, 16) < 0 {
if bind(fd, @addr, 16) < 0 {
print("error: bind()\n");
return 1;
}