Implemented network byte order conversion
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user