Implemented network byte order conversion

This commit is contained in:
2025-02-08 23:59:19 +01:00
parent 9002116ee4
commit 1ff56e0856
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)
}