Function igd::search_gateway_from [] [src]

pub fn search_gateway_from(ip: Ipv4Addr) -> Result<Gateway, SearchError>

Search gateway, bind to the given interface and use a time of 3 seconds.

Bind to the given interface. The request will timeout after 3 seconds.