print send buffers
This commit is contained in:
		
							parent
							
								
									03aa41ef6a
								
							
						
					
					
						commit
						6a88a6f294
					
				@ -119,7 +119,7 @@ async fn send_pkt<S: SendServerPacket + Send + std::fmt::Debug>(socket: Arc<asyn
 | 
			
		||||
                                                                -> Result<(), NetworkError>
 | 
			
		||||
{
 | 
			
		||||
    let buf = pkt.as_bytes();
 | 
			
		||||
    //println!("sndbuf: {:?}", buf);
 | 
			
		||||
    trace!("[send buf] {:?}", buf);
 | 
			
		||||
    let cbuf = cipher.lock().await.encrypt(&buf)?;
 | 
			
		||||
    let mut ssock = &*socket;
 | 
			
		||||
    ssock.write_all(&cbuf).await?;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user