test completed
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use std::string;
|
||||
|
||||
|
||||
|
||||
pub struct HandShake<'a> {
|
||||
len_pack: u8,
|
||||
len_dom: u8,
|
||||
|
||||
@@ -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>>,
|
||||
|
||||
Reference in New Issue
Block a user