hi, I am currently studying Rust programming.
Among them, I am looking for a part that sends files to the socket during the Toy Project.
Usually, other languages put files in buffers and communicate with the server at 1024 bytes, but Rust is looking for such an example.
I can't find it no matter how hard I try. I would appreciate it if you could tell me a small example source that can transfer files with TcpStream without using other crates.