rmw_upnp

Api Doc Download

English | 中文说明


English Readme

rmw_upnp : upnp port map daemon

Use

→ examples/main.rs

```rust use anyhow::Result; use rmwupnp::rmwupnp;

[async_std::main]

async fn main() -> Result<()> { fern::Dispatch::new() .level(log::LevelFilter::Info) .level_for("surf", log::LevelFilter::Warn) .chain(std::io::stdout()) .apply()?;

let sleepseconds = 60; let port = 12345; rmwupnp("testrmwupnp", port, sleep_seconds).await; Ok(()) } ```

About

This project is part of rmw.link Code Project

rmw.link logo


中文说明

rmw_upnp : upnp 守护进程

使用

→ examples/main.rs

```rust use anyhow::Result; use rmwupnp::rmwupnp;

[async_std::main]

async fn main() -> Result<()> { fern::Dispatch::new() .level(log::LevelFilter::Info) .level_for("surf", log::LevelFilter::Warn) .chain(std::io::stdout()) .apply()?;

let sleepseconds = 60; let port = 12345; rmwupnp("testrmwupnp", port, sleep_seconds).await; Ok(()) } ```

关于

本项目隶属于 人民网络 (rmw.link) 代码计划。

人民网络海报