veilid-igd 0.1.1

Fork of igd and igd-next modified to the needs of the Veilid project. 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::{Ipv6SearchScope, SearchOptions};

use rand::{self, Rng};

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