rust_p2p_core::socket

Function get_best_interface

source
pub fn get_best_interface(dest_ip: Ipv4Addr) -> Result<LocalInterface>
Expand description

Obtain the optimal interface with the specified IP address