mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 07:03:21 +03:00
refactor to_socket_addr and dns_check
This commit is contained in:
@@ -49,7 +49,7 @@ impl FramedSocket {
|
||||
bail!("could not resolve to any address");
|
||||
}
|
||||
|
||||
pub async fn connect<'a, 't, P: ToProxyAddrs, T1: IntoTargetAddr<'t>, T2: ToSocketAddrs>(
|
||||
pub async fn new_proxy<'a, 't, P: ToProxyAddrs, T1: IntoTargetAddr<'t>, T2: ToSocketAddrs>(
|
||||
proxy: P,
|
||||
target: T1,
|
||||
local: T2,
|
||||
|
||||
Reference in New Issue
Block a user