From 65e3cf64c4c027c963329978e749439df2d9e4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:08:47 +0300 Subject: [PATCH] test: display_byte --- README.md | 2 ++ src/main.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index d1495b0..530b6b4 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ TCP File Transfer Server and Client in Rust ☑ Remove memory limitations. [d42412c](https://github.com/Tahinli/rust-tcp-file-transfer/pull/1/commits/d42412c57d7d95672ba64b3e489b95f1c4b04a08) +☐ Bidirectional transfer. + ☐ Folder transfer. ☐ Remember where it stopped. diff --git a/src/main.rs b/src/main.rs index a4725bc..20333e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -209,6 +209,7 @@ impl FileInfo { // try then commit println!("Done: Handshake -> {}", self.location); + println!("{:#?} ", handshake); let size = String::from_utf8(handshake.clone()).unwrap().parse().unwrap(); handshake.push(b'\n'); self.send_exact(&handshake.as_slice(), stream);