Lines Matching refs:port
513 "forward port = {:#?} it'slength is wrong, can not more than five",
520 Ok(port) => {
521 if port == 0 || port > config::MAX_PORT_NUM {
522 crate::error!("port can not greater than: 65535");
527 crate::error!("port must is int type, port is: {:#?}", array[1]);
653 pub async fn forward_tcp_accept(ctx: &mut ContextForward, port: u32) -> io::Result<()> {
654 let saddr = format!("127.0.0.1:{}", port);
691 ctx.last_error = format!("TCP Port listen failed at {}", port);
721 pub async fn daemon_connect_tcp(cid: u32, port: u32) {
728 let saddr = format!("127.0.0.1:{}", port);
875 let Ok(port) = ctx.local_args[1].parse::<u32>() else {
881 let result = forward_tcp_accept(ctx, port).await;
885 utils::spawn(async move { daemon_connect_tcp(cid, port).await });