igd-next 0.17.0

Internet Gateway Protocol client
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod messages;
pub mod options;
pub mod parsing;

pub use self::options::SearchOptions;

use rand::{self, RngExt};

pub fn random_port() -> u16 {
    rand::rng().random_range(32_768_u16..65_535_u16)
}