pub fn get_remote_socket(host: &str, port: i32, quiet: bool) -> Result<i32, i32>