Implemented network byte order conversion

This commit is contained in:
Eduard Urbach 2025-02-08 23:59:19 +01:00
parent 084edba480
commit 79bb606e8d
Signed by: eduard
GPG key ID: 49226B848C78F6C8
4 changed files with 6 additions and 3 deletions

View file

@ -12,7 +12,7 @@ main() {
sys.exit(1)
}
if net.bind(socket, 0x901F) != 0 {
if net.bind(socket, 8080) != 0 {
sys.write(1, "bind error\n", 11)
sys.exit(1)
}