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);