manage handshake wiip

This commit is contained in:
2026-01-09 01:03:40 +01:00
parent cd2f87cb81
commit 9fc33804d0
6 changed files with 145 additions and 212 deletions

View File

@@ -4,7 +4,6 @@ use getrandom::Error;
use crate::cryptographic_signature::{CryptographicSignature, formatPubKey, sign_message};
use crate::message_handling::EventType;
use crate::messages_channels::{Message, MultipleSenders};
use crate::messages_structure::{HandshakeMessage, UDPMessage};
use std::collections::HashMap;
use std::net::SocketAddr;
use std::net::UdpSocket;
@@ -98,6 +97,7 @@ pub fn register_ip_addresses(
socket.recv_from(&mut buf).expect("receive failed");
let hello_handshake_received = UDPMessage::parse(buf.to_vec());
hello_handshake_received.display();*/
//TODO
}
#[cfg(test)]