|
@ -69,6 +69,6 @@ pub fn recv_packet<T: Read>(socket: &mut T, cipher: &mut dyn PSOCipher) -> Resul |
|
|
full_buf.append(&mut dec_data_buf);
|
|
|
full_buf.append(&mut dec_data_buf);
|
|
|
full_buf = full_buf[..pkt_size].to_vec();
|
|
|
full_buf = full_buf[..pkt_size].to_vec();
|
|
|
|
|
|
|
|
|
//println!("[recv]: {:X?}", full_buf);
|
|
|
|
|
|
|
|
|
println!("[recv: buf]: {:X?}", full_buf);
|
|
|
Ok(full_buf)
|
|
|
Ok(full_buf)
|
|
|
}
|
|
|
}
|