test completed

This commit is contained in:
2022-09-19 23:45:41 +02:00
parent 464b661bd7
commit 15aa4ec967
23 changed files with 15 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
use std::string;
pub struct HandShake<'a> {
len_pack: u8,
len_dom: u8,

View File

@@ -31,6 +31,8 @@ impl<'a> Client<'a> {
pub fn to_string(&self){
println!("len_pack {}", self.hs.getHostName());
}
//pub get_hostname(buf &mod)
fn join_conexions_mutex(c1: Arc<Mutex<TcpStream>>,
c2: Arc<Mutex<TcpStream>>,