I have a connection whit a tcp::stream and stay interaction sending data(take of a vector) whit a host, but in a moment the host close the connection, so can i send the rest of the vector like a return and then reassing to a new host and continue the iter in the vector?
I am thinking about save the threads into a vector and next do join into a iter, then the threads can reuse him self?
or i need to create a new thread for every new connection?
I don't know if is clear the idea?
I am noob in rust, thanks for all the help!