arti::socks

Function stream_preference

source
pub fn stream_preference(req: &SocksRequest, addr: &str) -> StreamPrefs
Expand description

Find out which kind of address family we can/should use for a given SocksRequest.