Implemented network byte order conversion
This commit is contained in:
parent
9002116ee4
commit
1ff56e0856
4 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue