[][src]Function igd::search_gateway

pub fn search_gateway() -> Result<Gateway, SearchError>

Search gateway, bind to all interfaces and use a timeout of 3 seconds.

Bind to all interfaces. The request will timeout after 3 seconds.