Replies: 1 comment 5 replies
-
You have not really provided very much information. Perhaps you need to flush after writing? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a strange problem, I made a custom TCP based end-to-end encryption protocol, however when using
stream.write_all
andstream.write
on Ubuntu, the client didn't receive any data, but the connection was normal and the server was able to receive data normally.My code passed the test locally on my computer (I have Windows) and I tested it locally on my Ubuntu host without any anomalies. I tried running my code on a Windows remote host and I was equally successful (remote access and local access).
For what it's worth, I also wrote a Python implementation for it, and it works fine on my Ubuntu server. It interfaces correctly with the Rust client.
I'm not sure why this is, I'm using the latest version of Rust and tokio at the moment.
Forgive me if I asked a stupid question.
Beta Was this translation helpful? Give feedback.
All reactions