...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user