some basic code

This commit is contained in:
2025-07-25 13:16:38 +02:00
parent 89152e24b3
commit 3e736aaf45
6 changed files with 566 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
pub async fn handle_request(
mut buf: [u8; pea_2_pea::BUFFER_SIZE],
socket: std::sync::Arc<std::net::UdpSocket>,
src: core::net::SocketAddr,
data_len: usize,
) {
#[cfg(target_endian = "little")]
buf.reverse();
}