|
|
@ -23,10 +23,7 @@ fn main() { |
|
|
|
let server = TcpListener::bind("0.0.0.0:80").unwrap(); |
|
|
|
let server = TcpListener::bind("0.0.0.0:80").unwrap(); |
|
|
|
server.set_nonblocking(true).unwrap(); |
|
|
|
server.set_nonblocking(true).unwrap(); |
|
|
|
|
|
|
|
|
|
|
|
println!( |
|
|
|
println!("Point your browser to http://{}/\n", soc.host_address()); |
|
|
|
"Point your browser to http://{}/\n", |
|
|
|
|
|
|
|
soc.host_address() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while apt.main_loop() { |
|
|
|
while apt.main_loop() { |
|
|
|
gfx.wait_for_vblank(); |
|
|
|
gfx.wait_for_vblank(); |
|
|
|