Send data to a tcp streams in a multithreaded server on a Rust
Please help me, I want to create a multithreaded server with TCP connections.
How to make it so that the server can transmit data by some asynchronous event with current TCP streams, as well as respond to incoming data streams?
It is not possible to implement this, since the Rust does not allow the mutable TCP stream to be given over to two functions
Send data to a tcp streams in a multithreaded server on a Rust
Please help me, I want to create a multithreaded server with TCP connections.
How to make it so that the server can transmit data by some asynchronous event with current TCP streams, as well as respond to incoming data streams?
It is not possible to implement this, since the Rust does not allow the mutable TCP stream to be given over to two functions