mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-02 15:56:37 +00:00
15 lines
371 B
Rust
15 lines
371 B
Rust
// https://tools.ietf.org/rfc/rfc5128.txt
|
|
// https://blog.csdn.net/bytxl/article/details/44344855
|
|
|
|
use hbb_common::{env_logger, log, tokio, ResultType};
|
|
use hbbs::*;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> ResultType<()> {
|
|
env_logger::init();
|
|
let addr = "0.0.0.0:21116";
|
|
log::info!("Start Server {}", addr);
|
|
RendezvousServer::start(&addr).await?;
|
|
Ok(())
|
|
}
|