Commit 22dd6e21 authored by Robert Hedman's avatar Robert Hedman

added extra prints in main.rs

parent 7e9d3f93
......@@ -67,8 +67,9 @@ fn main() {
let builder = thread::Builder::new().name("controller".into());
println!("starting controller...");
let controller = builder.spawn(move || {
println!("in controller....");
let mut stream;
let mut state: (f32, f32, f32, f32, f32) = (COLS as f32/2.0,ROWS as f32/2.0, 0.0, 0.0, 0.0);
......@@ -85,6 +86,7 @@ fn main() {
interact(&mut port).unwrap();
let listener: std::net::TcpListener;
println!("controller: waiting for sender");
loop {
match TcpListener::bind(REMOTE_OPERATOR_ADDRESS) {
Ok(lis) => {listener = lis; break;},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment