Implement the socket loop

Doesn't work though. Debugging time!
This commit is contained in:
Josiah Glosson committed 2025-01-28 16:22:06 -06:00
1 parent ddbaf0588f
commit 19508914cb
3 files changed
+36 -6

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ async fn main_client() -> theseus::Result<()> {
.expect("Expected second CLI arg to be socket ID")
.parse::<Uuid>()?;
tracing::info!("Listening on port 25565 to connect to {socket_id}");
tracing::info!("Listening on port 25585 to connect to {socket_id}");
let tcp_stream =
TcpListener::bind(SocketAddr::new("127.0.0.1".parse().unwrap(), 25585))
.await?