From 317d2a84c9817b76f1627083af96293d65add439 Mon Sep 17 00:00:00 2001 From: Kyle Johnsen Date: Mon, 7 Mar 2022 02:24:16 -0500 Subject: [PATCH] test scene fully working, should be drop in compatible --- src/main.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 883f92f..3cb2c81 100644 --- a/src/main.rs +++ b/src/main.rs @@ -224,7 +224,7 @@ async fn client_write(client: Rc>, mut socket: TcpStream, notify loop { notify.notified().await; //there is something to write - println!("Notified"); + let mut to_write = vec![]; { let client_ref = client.borrow(); @@ -297,7 +297,7 @@ async fn process_udp(socket: Rc>,clients: Rc>,clients: Rc>,clients: Rc>,clients: Rc>,clients: Rc>, r async fn read_group_message(mut stream: TcpStream, client: Rc>, clients: Rc>>>>){ + println!("Reading group message"); let group = read_short_string(&mut stream).await; let id_bytes = read_vec(&mut stream).await; let num = id_bytes.len();