add P2P protocol

This commit is contained in:
2025-07-30 12:50:02 +02:00
parent b1335bef08
commit ddbe156846
10 changed files with 401 additions and 25 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ fn main() -> std::io::Result<()> {
let registration_vector: Arc<ConcurrentVec<types::Registration>> =
Arc::new(orx_concurrent_vec::ConcurrentVec::new());
let mut buf: [u8; pea_2_pea::BUFFER_SIZE] = [0u8; pea_2_pea::BUFFER_SIZE];
let mut buf: [u8; pea_2_pea::UDP_BUFFER_SIZE] = [0u8; pea_2_pea::UDP_BUFFER_SIZE];
smol::block_on(async {
loop {
buf.fill(0);