rustdesk-server/src/main.rs

14 lines
341 B
Rust
Raw Normal View History

2020-03-06 17:18:22 +08:00
// https://tools.ietf.org/rfc/rfc5128.txt
// https://blog.csdn.net/bytxl/article/details/44344855
use hbbs::*;
#[tokio::main]
2020-03-09 19:35:57 +08:00
async fn main() -> Result<(), Box<dyn std::error::Error>> {
2020-03-06 17:18:22 +08:00
env_logger::init();
2020-03-09 19:35:57 +08:00
let addr = "0.0.0.0:21116";
log::info!("Start Server {}", addr);
RendezvousServer::start(&addr).await?;
2020-03-06 17:18:22 +08:00
Ok(())
2020-03-09 19:35:57 +08:00
}