actually implement edge node holder server

This commit is contained in:
Maple 2025-07-30 22:15:31 +02:00
commit a9fffa8d2d
5 changed files with 99 additions and 5 deletions

View file

@ -33,7 +33,7 @@ async fn main() {
let conn: SplittableBufferConnection = conn.into();
conn.send(Register(SocketAddrV4::new(*OWN_IP_PUBLIC, *SERVER_PORT).to_string()).to_data()).await;
conn.send(Register(SocketAddrV4::new(*OWN_IP_PUBLIC, *SERVER_PORT)).to_data()).await;
let conn = new_rmc_gateway_connection(conn, |r| Arc::new(OnlyRemote::<RemoteEdgeNodeHolder>::new(r)));