actually implement edge node holder server
This commit is contained in:
parent
11b0393e6a
commit
a9fffa8d2d
5 changed files with 99 additions and 5 deletions
|
|
@ -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)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue