igd 0.12.1

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, Rng};

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